This code not working on 2.,3. page help please.
[code]
$(document).ready( function () {
formajax2(".formajax",true,"Kullanıcı Düzenle");
function formajax2(div,pop,title){
$(div).submit(function(e) {
e.preventDefault();
var form = $(this);
var url = form.attr('action');
$.ajax({
type: "GET",
url: url,
data: form.serialize(),
success: function(data)
{
if (pop==true){ popup(data,title); }
}
});
});
}
});
[/code]
↧
Next page $("form").submit problem
↧