Thursday 19 January 2012

get value from a textbox in java script

How to get value from a textbox in java script?

Write following code

alert(document.getElementById('txtbox1').value);

No comments:

Post a Comment