how to check validation on form submit in jquery code example Example: how to validate the textbox using jquery BY LOVE if ($('#txtName').val() == "")