Came across a code in which the submit() event has been applied to the input field in the form. Something like:
$("#foo").click(function(){
$("#formID input").submit();
})
where "#foo" is a dynamically created list element. Does this submit only the input field and not the entire form?
Aucun commentaire:
Enregistrer un commentaire