Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Insert jQuery into wordpress post Reply To: Insert jQuery into wordpress post

#170811
mcjohnst
Participant

Are you enqueueing it in the footer? jQuery and highcharts listed as dependencies ?

The only thing I’d add to the script is a check on the container length to make sure #container exists on the page before binding the highcharts functionality to it.