code_junkie

Calling As function from js problem

Nov 11th, 2011
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. window.onload = function() {
  2. // your code here
  3. }
  4.  
  5. if (typeof yourFunctionName == 'function') {
  6. yourFunctionName();
  7. }
  8.  
  9. function MovieLoaded() {
  10. doSomething();
  11. }
Add Comment
Please, Sign In to add comment