Hey all, here is a question that I have. I have a text input
I am able to access all the elements with dom
Lets say I want to add more (of my own) information into the html object, something like this:
I am not able to use the DOM to do this
This will returns undefined, can I add extra html elements and access them with DOM?
Thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!
Code:
<input type="text" id="textOne">
Code:
alert(document.getElementById('textOne).value);
Lets say I want to add more (of my own) information into the html object, something like this:
Code:
<input type="text" id="testTwo" serial="123456">
Code:
alert(document.getElementById('textTwo).serial);
Thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!