$("form")
would fetch all <form>
elements in the page, you need the clicked button parent form: $(this).parent('form')
:
var dataString = $(this).parent('form').serialize();
aularon
2010-09-04 12:55:52
$("form")
would fetch all <form>
elements in the page, you need the clicked button parent form: $(this).parent('form')
:
var dataString = $(this).parent('form').serialize();