Computer Science Canada

Button

Author:  MyPistolsIn3D [ Tue Oct 19, 2004 3:49 pm ]
Post subject:  Button

Ok, i know u use this:
<button>Click Me!</button>
to make a button, but how do u make that button do something when you click it?

Author:  Amailer [ Tue Oct 19, 2004 3:54 pm ]
Post subject: 

Omg, there is such a thing as <button> wow Razz

<FORM>
<input type="submit" name="Submit" value="Baka!">
</FORM>

hooah,
types are.

HIDDEN (as a hidden field, not visiable)
TEXT (text box)
BUTTON (simple button that does not submit)
SUBMIT (submits a form)
RESET (to reset the page)

am i missing any for input?

Author:  rdrake [ Tue Oct 19, 2004 4:10 pm ]
Post subject: 

Something like this is what I usually use:
code:
<form action="document.html" method="get">
  <input type="text" name="name" />
  <input type="submit" value="Submit" />
</form>

Author:  MyPistolsIn3D [ Tue Oct 19, 2004 4:20 pm ]
Post subject: 

hmmmm, maybe im not ready for buttons quite yet.


: