I am having a problem with my html document. I am trying to find the value of the iput box below but it wont work. It has that the value is blank. I am running to document as a file in my computer, not on the web, if that makes a difference. This is my html code:
<p class='textcenter'>What would you like to scan</p><input id='scanbox1' type='text' name='scanboxtype'>
And this is my jquery:
var a;
a = $('input[name=scanboxtype]').val();
alert('a is '+a)
What ever i type in, the alert pops up as 'a is'. Thanks for the help.