If the data from the form is not entered, the send button does not work.
Here is a jquery solution
$(function() { $(":text").keypress(check_submit).each(function() { check_submit(); }); }); function check_submit() { if ($(this).val().length == 0) { $(":submit").attr("disabled", true); } else { $(":submit").removeAttr("disabled"); } }
Source: https://ru.stackoverflow.com/questions/26012/More articles:TransliterationKnowledge Requirement [closed]Auto-generate comments in Eclipse for Java EEIE6 and 7 ignore the z-index property of the elements.Mathematical function “Signum”php and excel - web page generationDIY template makerVigenera cipherDo not install Python on Windows XPWhat kind of query can I see to load the Oracle server?All Articles