Wednesday, 1 October 2014

get input button value jquery

get input button value jquery

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


<button type="button" id="button">Click Me!</button>


===============================================================
$('#button').click(function() {
   
    alert($('#textbox').val());
});

==============================================================
Please find Demo here

No comments:

Post a Comment