userimage
Moe

how to get value from input text box

<input type="text" id="txt_name"  />

Way to get text value from the text box using jquery

userimage
Moe
var data = $('#txt_name').val();
Answer is