View Full Version : Javascript question


LunarPrincess
07-17-2003, 05:22 AM
You know how you can use the javascript code when you click on a button and a window pops up saying like i dunno Oops! You weren't supposed to do that.


Well do any of you know the code just like that instead of clicking a button you select a box?

Alcy
07-18-2003, 03:23 AM
A checkbox?

<form>
<input type="checkbox" value="CLICK" name="checkbox" onClick='alert("ALERT!")'>CLICK
</form>