Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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:
alert("any thing");
 
but all code not work like that:
document.getElementById("<%= lblRequiredName.ClientID %>").innerText = "qqqq";
myiframe.document.execCommand('justifycenter', 0, null);
myiframe.document.execCommand('createlink');
Posted 15-Nov-11 4:48am
Edited 15-Nov-11 4:53am
v2
Comments
DaveAuld at 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 at 15-Nov-11 9:52am
   
Does Any Websites JavaScript work on your FFS, or is it just your code?
DaveAuld at 15-Nov-11 9:53am
   
Try this page and tells us what you get? http://www.quirksmode.org/js/detect.html

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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/
  Permalink  
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 434
1 Maciej Los 420
2 OriginalGriff 340
3 CHill60 240
4 Abhinav S 220
0 Sergey Alexandrovich Kryukov 10,102
1 OriginalGriff 9,495
2 Peter Leow 5,241
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 3,076


Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 15 Nov 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100