Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How can we know the error in a java script function of a web page which is working
fine in IE but not in Firefox at client side.

I have searched in google but couldn't find a solution.

Please let me know..
Posted

Run your site
and in browser menu strip
Go to =>Tools
=>Error Console

In some versions of FireFox
Tools
=>Web Developer
=>Error Console
The error shown in this console.
 
Share this answer
 
v2
There must be something wrong in java-script, some error perhaps.

I could suggest use "java-script Online lint" to check your script for errors and I am sure your problem will be solved.
 
Share this answer
 
Its called exception handling and it isn't just for server-side code. Also, all browsers can record and/or display JavaScript errors in some fashion. Look for the settings in the browser you using.

Tools like Firebug[^] can also be very helpful. If you are doing any serious web development you should know about this.
 
Share this answer
 
if its working fine in IE then it will also work fine in others too...please let us know where you are getting stuck so that we can try to help you..


Thanks

Ashish
 
Share this answer
 
You can also see the yellow color error prompt image at the left bottom of your Internet Explorer, If you are running your page into Internet Explorer and there are issues related Javascript
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900