I want to return false and return from function if I find first blank textbox
function validate(){ $('input[type=text]').each(function(){ if($(this).val() == "") return false; }); }
and above code is not working for me :( can anybody help?