treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Adding "onload" to Wordpress Body Tag

  • H all

    Title says it all really - is there a way this can be done?

    Basically I'm looking for a way to add onload="createGridder()" to the body tag so it looks like this:

    <body onload="createGridder()" class="yadda yadda">
    

    I'd like this to be done by editing a functions.php file as opposed to editing a template.

    Thank you in advance, Richard