2 Replies Latest reply on May 7, 2012 6:56 AM by Gopal Aggarwal

    How can I Call javascript method during onload of jsf page

    Gopal Aggarwal

      I want to call a JavaScript method on load of the jsff page.

      I have written a code for setting the user name in the cookie of the browser, this is working fine.

      I am also able to read the name using some method but I want to call this method on the page load so that the user name will get display in the input text field whenever the page loads.

      Please can anyone help me??