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.
精彩评论