• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Buttons

Along with text fields, buttons are the primary controls you see in web pages. All you need to do is to click them to make something happen. The properties, methods, and events of all buttons are the same in JavaScript. Here are the various button types:

  • Buttons. <BUTTON>, <BUTTON TYPE="BUTTON">, <INPUT TYPE="BUTTON">.

  • Submit buttons. <INPUT TYPE="SUBMIT"> and <BUTTON TYPE="SUBMIT">.

  • Reset buttons. <INPUT TYPE="RESET"> and <BUTTON TYPE="RESET">.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint