ajax update with button click
ajax update with button click
blazeorion
Posts: 2Questions: 1Answers: 0
Hi I would like to click a button and send a POST with a custom parameter, then have the table update. is this possible?
This discussion has been closed.
Answers
I ended up using GET instead:
<button type="button" id="next" onclick="next()">Next</button>
function next(){ var table = $('#example').dataTable(); table.api().ajax.url( 'example.php?customerno='+decodedString ).load(); }