DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Web Browsers (http://www.daniweb.com/forums/forum29.html)
-   -   Firefox Javacript problem (http://www.daniweb.com/forums/thread106557.html)

kapiljainindore Jan 28th, 2008 2:26 am
Firefox Javacript problem
 
Hi,

I am new to javascript using Firefox. I don't know the basic principles of change in syntaxes if i have to make page compatible with FF.

We've created javascript which is working fine with IE 6.0/7.0 and safari but it is not at all wokring with FF.

Below is the sample example which is throwing error as follows

Error: document.getElementById(LabelName).innerText has no properties
Source File: http://localhost/login/JavaScript/Ja...Validations.js
Line: 116

Please suggest the rule to use javascript syntax in FF or what are changes to be taken care while making page cross browser compatible.

Michael_Knight Jan 29th, 2008 11:00 am
Re: Firefox Javacript problem
 
If using this on localhost, add http://localhost to your trusted sites in Firefox.


All times are GMT -4. The time now is 1:24 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC