Home › Forums › JavaScript › Insert jQuery into wordpress post › Reply To: Insert jQuery into wordpress post
May 21, 2014 at 12:55 pm
#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.