Page 181 - DCAP408_WEB_PROGRAMMING
P. 181

Unit 6: DOM Model




          The events for each HTML tag are as follows:                                          Notes
              <A>
                   click (onClick)
                   mouseOver (onMouseOver)

                   mouseOut (onMouseOut)
              <AREA>
                   mouseOver (onMouseOver)

                   mouseOut (onMouseOut)
              <BODY>
                   blur (onBlur)
                   error (onError)
                   focus (onFocus)

                   load (onLoad)
                   unload (onUnload)
              <FORM>

                   submit (onSubmit)
                   reset (onReset
              <FRAME>
                   blur (onBlur)
                   focus (onFocus)

              <FRAMESET>
                   blur (onBlur)
                   error (onError)

                   focus (onFocus)
                   load (onLoad)
                   unload (onUnload)
              <IMG>
                   abort (onAbort)

                   error (onError)
                   load (onLoad)
              <INPUT TYPE = “button”>

                   click (onClick)
              <INPUT TYPE = “checkbox”>
                   click (onClick)






                                           LOVELY PROFESSIONAL UNIVERSITY                                   175
   176   177   178   179   180   181   182   183   184   185   186