开发者

Save YUI2 DataTable content to $_POST

开发者 https://www.devze.com 2023-01-17 07:35 出处:网络
I\'m populating a YUI2 DataTable from a database (in PHP). Now the user should make changes to the DataTable. These changes should be saved to $_POST so they can be saved to the database again.

I'm populating a YUI2 DataTable from a database (in PHP). Now the user should make changes to the DataTable. These changes should be saved to $_POST so they can be saved to the database again.

My problem: The only way to put va开发者_JAVA技巧riables into post seems to be input elements in a form. But the DataTable contains no input elements, it is text that will spawn a JavaScript entry field onClick.

Anyone know a way around this?

Thanks.


If anyone is wondering the same thing, you can access the data from the DataTable per getRecord, with the help of getCount and getData functions.

0

精彩评论

暂无评论...
验证码 换一张
取 消