Immediately Update of Data after call of sUpdateURL with a Sever Side Script
Immediately Update of Data after call of sUpdateURL with a Sever Side Script
arnzel
Posts: 2Questions: 0Answers: 0
Hi. i am using the function sUpdateURL with a sever side script like this:
sUpdateURL:"UpdateData.php"
UpdateData.php makes some changes to the database
It works. Unfornutately the changed data int he table is not updated immediately. the user must reload the site. how can i change ist ?
i tried something like this:
sUpdateURL:function(value, settings)
{
//missing id and columnName
$.post('UpdateData.php', {value:value});
}
UpdateData.php needs the value of the first table cloumn(id) and the name of the columkn with was click. how i an access this data ?
Is there a better solution without the ajax call ?
sUpdateURL:"UpdateData.php"
UpdateData.php makes some changes to the database
It works. Unfornutately the changed data int he table is not updated immediately. the user must reload the site. how can i change ist ?
i tried something like this:
sUpdateURL:function(value, settings)
{
//missing id and columnName
$.post('UpdateData.php', {value:value});
}
UpdateData.php needs the value of the first table cloumn(id) and the name of the columkn with was click. how i an access this data ?
Is there a better solution without the ajax call ?
This discussion has been closed.
Replies
Allan
http://jquery-datatables-editable.googlecode.com/svn/trunk/index.html
Allan