var exitSubmit = false; $("#tbllic tr td input[type=text]").each(function () { var getid = $(this).attr("id"); alert("user" +getid); if ($("#" + getid).val() == null || $("#" + getid).val() == "") { $("#" + getid).focus(); exitSubmit = true; return false; } }); if (exitSubmit) { alert("Please Enter the Ariba Number!"); return false; }
Thursday, September 3, 2015
jquery each return false not working
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment