Support » Themes and Templates » Elegant Grunge Javascript issue

  • Can someone please tell me if there is anything wrong with this opening body tag. I’m trying to call a javascript function located just before the </head>. This is the original:
    <body <?php if ( defined('EG_BODY_CLASS') ) echo 'class="'.EG_BODY_CLASS.'"'; ?>>
    I just added the onload= here:
    <body onload="loadMsg('msgbox');" <?php if ( defined('EG_BODY_CLASS') ) echo 'class="'.EG_BODY_CLASS.'"'; ?>>
    It works fine in other themes.
    Thanks

  • The topic ‘Elegant Grunge Javascript issue’ is closed to new replies.