aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes getElementbyId not working in Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "getElementbyId not working in Mozilla" Watch "getElementbyId not working in Mozilla" New topic
Author

getElementbyId not working in Mozilla

Raghusham Sankargal
Ranch Hand

Joined: Oct 10, 2005
Posts: 59
Hi,
In my javascript function I am using getElemenyById() function to extract the value of the text box. This function is working fine and returns an object in Internet Explorer but null when I tried the same in Mozilla FireFox. Could any one please tell me why is that happening and to fix that. Is there any alternative to the function I am using. Thanks in advance.


Raghusham Sankargal
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Do you have an id on the textbox?

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: getElementbyId not working in Mozilla