check input not null code example
Example 1: check fro text input jquery
$('#apply-form input').blur(function()
{
if( !$(this).val() ) {
$(this).parents('p').addClass('warning');
}
});
Example 2: if input value is null do something
if(document.getElementById("question").value.length == 0)
{
alert("empty")
}