Title: Access table data from javascript
Last modified: July 18, 2018

---

# Access table data from javascript

 *  Resolved [oreste](https://wordpress.org/support/users/oreste/)
 * (@oreste)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/access-table-data-from-javascript/)
 * Is there any Javascript/jQuery function that allow to access table data directly?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/access-table-data-from-javascript/#post-10504154)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * I’m not exactly sure what you mean here. Do you have a table on a page and want
   to access it with JavaScript? Your best chance might be to simply use `jQuery('#
   tablepress-1' )` and then loop through the rows and columns. You could also check
   the API functions of the DataTables library.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Access table data from javascript’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/access-table-data-from-javascript/#post-10504154)
 * Status: resolved