Results 1 to 2 of 2
Thread: Button Functions
- 03-12-2009, 02:22 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 5
- Rep Power
- 0
Button Functions
I need to add the number values of 2 texts boxes and make it appear in the third text box
how would one do this?
l
XML Code:<html> <head> <script language="javascript"> function buttonclick() { } </script> </head> <body> <h1><b><u>Rabbits vs. Foxes Population</u></b></h1><br> <form name="forma"> <table border="1" width="50%" cellspacing="0" cellpadding="1"> <tr> <td>Number of Rabbits</td> <td><input name="numberofrabbits" type="text" size="6"></td> </tr> <tr> <td>Death Rate</td> <td><input name="deathrate" type="text" size="6"></td> </tr> <tr> <td>Birth Rate</td> <td><input name="birthrate" type="text" size="6"></td> </tr> <tr> <td>No. of Foxes</td> <td><input name="foxes" type="text" size="6"></td> </tr> <tr> <td>Rabbit Conditions</td> <td><Input type = radio Name = r1 Value = "N">Normal <Input type = radio Name = r2 Value = "F">Fires <Input type = radio Name = r3 Value = "E">Excellent</td><br> </tr> <tr> <td>Graph the Rabbits</td> <td> <input type="checkbox" name="graphrabbits" value="checked"></td> </tr> <tr> <td><input type="button" onclick="buttonclick()" value="One Year Passes" size="30"></td> <td>Years<input name="years" type="text" size="6"></td> </tr> </table> </form> </body> </html>
-
Similar Threads
-
Calling java functions from c++
By khajalid in forum New To JavaReplies: 13Last Post: 10-12-2010, 10:50 PM -
Functions in jsp
By samson in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 03-25-2009, 10:04 PM -
problems with functions
By kri in forum New To JavaReplies: 6Last Post: 02-07-2009, 08:09 PM -
HashMap functions get vs put
By tahni in forum New To JavaReplies: 3Last Post: 01-14-2009, 06:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks