I am trying to pop out input box value but it is showing a blank value. why? Here is the jsfiddle.
$(document).ready(function() { $('#showName').click(function() { alert($("input").val()); }); });
Show name