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 OriginalGriff 605
1 Maciej Los 319
2 BillWoodruff 184
3 Richard MacCutchan 180
4 Suraj Sahoo | Coding Passion 180
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 15 Nov 2011
Copyright © CodeProject, 1999-2014
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