(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )
I have 4 tabs in sj:tabbedpanel. I need to save first tab's data before load
second tab because second tab uses first's data. Currently, I use "load" event
to do this:
$(document).ready(function() {
$('#cf').tabs({load:function(event,ui){
var data;
$('#actionFlag').val('save');
data=$('#frm_poa').serialize();
$.post('poa.action',data);
}
});
});
This brings me a problem. It always load first and then save. It can not see
the previous tab's data. This is not what I expect.
I hope we should have an event "beforeLoad" to fulfil this task: save first
tab's data before load another tab.
Thank you!
Original issue reported on code.google.com by richardy...@gmail.com on 1 Jun 2013 at 1:49
Original issue reported on code.google.com by
richardy...@gmail.com
on 1 Jun 2013 at 1:49