www.webdeveloper.com
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2010
    Posts
    272

    alt to using body="onload()" or jQuery's $(document).ready...

    what can i use in place body="onload()" or jQuery $(document).ready()...?

    in other words, run some funcs one the document has loaded. (don't want to use jQuery for this)

    window.onload doesn't work for this.

    i tried window.document.body.onload... that's not right?
    Last edited by toptomato; 09-19-2012 at 12:55 PM.

  2. #2
    Join Date
    Nov 2010
    Posts
    956
    in what way doesn't window.onload or document.body.onload work?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



Recent Articles