$('#btn2').click(function () {
var val = $('#asdf').val();
alert(val);
})
solved Display the value in the alertbox
$('#btn2').click(function () {
var val = $('#asdf').val();
alert(val);
})
solved Display the value in the alertbox