+ 1
How to use an id given to an<input>?
how can i use the value entered by the user in the text box. for eg-if value entered is "abc" then windows.session=www.google.com
1 Answer
+ 24
<input id=in onchange=if(document.getElementById("in").value=="abc"){...}>
(or "oninput")....