HOW TO VALIDATE INPUTS BFORE SUBMISSION USING JQUERY code example Example: how to validate the textbox using jquery BY LOVE if ($('#txtName').val() == "")