Greetings,
Can anyone tell me what I do wrong in the code below Am I It is not executed on click applied to submit
jQuery:
$ (document)). (Function: {Name: "Required", // Simple Rule, {Required: True} Converting to Email: {// Combined Rules Required: Truth, Email: Correct}, URL: {url: true}, Comment: {Required} : Truth}}, Message: {Comment: "Please enter a comment."}});});}); HTNML: gt; & Lt; / Div & gt; & Lt; Div class = "form-line" & gt; & Lt; Span class = "label" & gt; E-mail * & lt; / Span & gt; & Lt; Input type = "text" name = "email" /> gt; & Lt; / Div & gt; & Lt; Div class = "form-line" & gt; & Lt; Span class = "label" & gt; Url & lt; / Span & gt; & Lt; Input type = "text" name = "url" /> gt; & Lt; / Div & gt; & Lt; Div class = "form-row" & gt; & Lt; Span class = "label" & gt; Your Comment * & lt; / Span & gt; & Lt; Textarea name = "comment" & gt; & Lt; / Textarea & gt; & Lt; / Div & gt; & Lt; Button ID = "ClockOut BTN" type = "button" /> & Lt; / Fieldset & gt; Click I submit the form on the form:
$ ( "Form"). Bind ('submit', function () {this.validate (etc ...) if (valid_criteria) true return / submit / submit false false // do not submit}}
Comments
Post a Comment