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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "getElementbyId not working in Mozilla" Watch "getElementbyId not working in Mozilla" New topic

getElementbyId not working in Mozilla

Raghusham Sankargal
Ranch Hand

Joined: Oct 10, 2005
Posts: 59
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

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

I agree. Here's the link:
subject: getElementbyId not working in Mozilla