I have some form containers with a form in each,
form.submit function like this:
$('.form-container form').submit(function(){
$.post(url,data,callback);
});
callback function:
function callback(data){
container.html(data);
}
Question is, how can I get the container, are there any way that I can pass it from submit function?
Because the container is danymic, I cann't simply get it by id or so.
Thanks!!