Next page $("form").submit problem
Next page $("form").submit problem
duran003
Posts: 2Questions: 1Answers: 0
This code not working on 2.,3. page help please.
$(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); }
}
});
});
}
});
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
This discussion has been closed.
Answers
no help?
Is this with Datatables? If so maybe you can describe what happens and any errors you get.
Please provide a link to your page or a test case showing the issue so we can offer debugging assistance.
Kevin