This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getElementbyId not working in Mozilla
 
Similar Threads
Problem in Submit() Function
onload function()
refreshing problem using java script in internet explorer
Doubt in Session.isNew()
pageContext.exception is not executing