Home › Forums › JavaScript › Triggering jQuery after page has loaded › Re: Triggering jQuery after page has loaded
November 23, 2012 at 1:53 pm
#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.