Skip to content Skip to sidebar Skip to footer

Ajax Auto Form Submit

Does anyone know how to automatically submit a form via AJAX, without, having to explicitly click on the submit button. For example, say I have the following form:
, url: $("#form1").attr('action') etc etc }) })

Solution 2:

You can define the $.ajax... function inside another function

function submitForm(){
   $.ajax...
}

then, you can call this function whenever you like.

$('.column').keyup(function(){
   submitForm();
});

Post a Comment for "Ajax Auto Form Submit"