ADD html ID attribute to Table
-
Hello,
Is there a way to associate an HTML ID attribute to the resulting table? I would like to create a button to enable the user to export the content of the table and need a way to refer to the specific table.
My code would look something like the following. However, I can’t seem to find a way to assign “gtable” as the ID. I have seen some plugins that allow the ID to be specified in the shortcode, but with this plugin the ID in the shortcode has a different purpose.
<a href="#" onClick ="jQuery('#gtable').tableExport({type:'excel',escape:'false'});">XLS</a>
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘ADD html ID attribute to Table’ is closed to new replies.