Results 1 to 2 of 2

Thread: how to override <body> onload method

  1. #1

    Thread Starter
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    how to override <body> onload method

    i'm using a master page in a site.

    in the master codebehind i have the <body> onload event wired to a javascript method.

    on another page, i don't want to use this method for the onload event and prefer to use another specific method the page.

    Is there a way that i can override this method by somehow altering the onload attribute of the <body> tag with codebehind javascript?

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    Re: how to override <body> onload method

    Or use a property on the page that specifies the method you wish called on load. This value is defaulted within the master page, and changed as & when necessary in other pages.

Posting Permissions

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



Click Here to Expand Forum to Full Width