Code:
<input type="text" name="box"> <input type="button" value="Add" onClick="cool()"> <script language="JavaScript"> var blue=5; function cool() { blue=blue+1; } </script>
If click the button, it will added 1, then assign to blue..
how do it make it show in "box" text field?
Do I use return blue=box.value;??
Help me plzz.. thank you..
Comment