Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everybody,

My ASP.net website has many javascript code and it work nicely on Internet Explorer,

but the problem all javascript code not work on Firefox browser although javascript is enabled on my firefox.

all javascript code never work on firefox whatever it is simple or complicated.

only that code work:
JavaScript
alert("any thing");


but all code not work like that:
JavaScript
document.getElementById("<%= lblRequiredName.ClientID %>").innerText = "qqqq";
myiframe.document.execCommand('justifycenter', 0, null);
myiframe.document.execCommand('createlink');
Posted
Updated 15-Nov-11 3:53am
v2
Comments
DaveAuld 15-Nov-11 9:50am    
And what snippet of code doesn't work.........or you will get no answer! Show us the code that is not working, and we might be able to fix it!
DaveAuld 15-Nov-11 9:52am    
Does Any Websites JavaScript work on your FFS, or is it just your code?
DaveAuld 15-Nov-11 9:53am    
Try this page and tells us what you get? http://www.quirksmode.org/js/detect.html

1 solution

One of the Best tool which I know for Firefox related browser compatibility(both CSS and JavaScript) is "Firebug".

You may download and install Firebug from below links.
http://getfirebug.com/

http://getfirebug.com/javascript

Edit - Official Firefox Firebug.
https://addons.mozilla.org/en-US/firefox/addon/firebug/
 
Share this answer
 
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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