Proper way to load data
Proper way to load data

I have a table that I load on a click event of a button. Each time I hit the button I want to chenge the data via ajax, which is the proper way to do that ???
This discussion has been closed.
I have a table that I load on a click event of a button. Each time I hit the button I want to chenge the data via ajax, which is the proper way to do that ???
Answers
There are lots of options depending on your requirements.
I'm going to guess that you want to pass some parameters in the ajax request. You can use
ajax.data
for this. Look at the function based examples.If this doesn't help then please provide more details of what you are wanting to do.
Kevin