I have this code:
<div id='html'><input type='text' value='' /></div><br><a onClick="alert(document.getElementById('html').innerHTML);">click me</a>
If you change input value and click on "click me" you won't see the real input value. Is there any propety instead of "innerHTML" that gets the real values?
PS: I'm using plain javascript I can't use any library.