Home > front end >  Bosses seek solutions, be urgent!
Bosses seek solutions, be urgent!

Time:09-23

I want to do on a video online a picture box, shuffling in the test click the right button, set the alert popups, but has no effect, according to the video contrast for a long time don't know where is wrong, hope leaders help me to see what reason not to, thank you!

CodePudding user response:

In a global environment of the code is from the top to the bottom of the page phase while parsing, at this time in this page element finished parsing, access,
To put the script at the bottom of page body tag, or use the window. The onl oad event can trigger after parsing is complete (page),

CodePudding user response:

reference 1/f, the sky wave response:
code is in the global environment from the top to the bottom of the page phase while parsing, at this time in this page element haven't parse out, can't access,
To put the script at the bottom of page body tag, or use the window. The onl oad event can trigger after parsing is complete (page),

Oh oh, originally this, change come over, the big trouble, thank you very much!
  • Related