0 Replies Latest reply on Sep 13, 2007 9:38 AM by saigon_man

    Initialize a javascript function when page is called

    saigon_man

      Hello,
      I am using Jboss Portal 2.6.1. I wonder if there is a good way to call a javascript function when that page load? I use the onload option in the body tag in the index.jsp as part of my layout package, but this won't work for me if there is another page using the same layout package and does not need to call that javascript function when that page loads.

      Thanks,

      SGM