ReloadAjax, same source URL, different POST parameters
ReloadAjax, same source URL, different POST parameters
I have a page which loads a table using a php script as ajax source.
This script gets a set of user given parameters (form in same page).
Eventually the use might want to introduce a new set of parameters.
Questions:
1) Is there any way to initialize the table once but delay the actual draw till data is given?
2) Is there any way to pass both the source URL AND its parameters to fnReloadAjax?
Thanks,
Gerardo
This script gets a set of user given parameters (form in same page).
Eventually the use might want to introduce a new set of parameters.
Questions:
1) Is there any way to initialize the table once but delay the actual draw till data is given?
2) Is there any way to pass both the source URL AND its parameters to fnReloadAjax?
Thanks,
Gerardo
This discussion has been closed.
Replies
However, as I add variables to aoData in fnServerData, had to change the call to:
oSettings.fnServerData( oSettings.sAjaxSource, [], function(json) {
(that is, [] instead of null as 2nd parameter.
thanks,
Gerardo