calling two functions from a single event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • localhost1
    New Member
    • Aug 2007
    • 11

    calling two functions from a single event

    i want to call two functions from the single onload event in javascript. is it posssibe? if it is possible then how??
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    See this article. Alternatively, use the advanced event registration model, addEventListene r/attachEvent (see link).

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Altered the thread title to describe the problem a little better.

      Comment

      • gaya3
        New Member
        • Aug 2007
        • 184

        #4
        Originally posted by localhost1
        i want to call two functions from the single onload event in javascript. is it posssibe? if it is possible then how??

        hi,
        u can call two javascript functions in single event..
        one thing is to do is "two function should be separated my semi colon"

        something like
        onload="javascr ipt:x();y()"

        -Hamsa

        Comment

        Working...