Hy guys,
I'm trying to solve this problem:
I have a jsp page with inside a table generated with dispaytag library and other kind of stuff.
When I press a button, I would like to generate an ajax call reloading just the table and not the whole jsp page, that display correctly the uptated table with also the generated tag pagebanner and pagelinks properly, increasing and decreasing elements founds.
Is there any solution to solve this problem?
Try this.
$.ajax({
type:"POST",
url:"yourpage.jsp",
data :{ yourdata : yourdata },
success: function(data) {
}
});
$(".yourtableClass").load("yourpage.jsp .yourtableClass", { yourdata : yourdata });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With