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

#170823
mcgyver47
Participant

Yes: enqueuing this file in the footer with highchart as dependency as jQuery is already enqueued by WordPress.
Good pick, I have forgotten this part. My #container doesn’t exist when binding the highcharts functionality.
How would you do this ? in the same file ? Having jQuery adding this container at top of js file ?
Thanks for help.