Using document.GetElementById(thingieID) doesn’t seem to work.
Can anyone help this DOM newbie?
Using document.GetElementById(thingieID) doesn’t seem to work. Can anyone help this DOM newbie?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure what you are trying to do with the element, or what the problem is.
Here’s an example of using document.GetElementById() in a webpage, in a function that is invoked on the onClick event for a button.
You can see this run at:
http://jsbin.com/afaga/2