Pass JavaScript array as data
-
When my site loads, it creates a Javascript variable, “portfolio_info”, containing an array of objects used as a lookup table by numerous Javascript functions.
I would like to display some of this same data in an HTML table created with the WP DataTable shortcode. How can a refer to this lookup table variable inside the shortcode?
Thanks
B
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pass JavaScript array as data’ is closed to new replies.