Support

Account

Home Forums Front-end Issues How to wait until content is loaded before running JS? Reply To: How to wait until content is loaded before running JS?

  • If the output is generated by PHP then the doc ready function should not be happening before the page is loaded. Unless the script for the slider needs the images to actually be loaded before it can run, but if that’s causing it then I’d be surprised. Maybe there’s a javascript error that’s causing a problem?