Forums

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

Home Forums JavaScript Triggering jQuery after page has loaded Re: Triggering jQuery after page has loaded

#115257
JohnMotylJr
Participant

@CameronDuthie : If you’r loading another html page inside your first one then try to target it with js from the second, im not really sure if the secondary js will pick up on the DOM. Have you tried just putting that code from your second html file into an anonymous function on your main page?

Hmm, actually, are you referring to the light box script?

Try loading all that into your main html page.