This question is tagged with jQuery. In jQuery, you can run the following:
if ( $.trim( $('#myInput').val() ) == '' )
alert('input is blank');
This question is tagged with jQuery. In jQuery, you can run the following:
if ( $.trim( $('#myInput').val() ) == '' )
alert('input is blank');