PDA

View Full Version : Javascript submit buttom issue


missyW
11-15-2010, 01:31 AM
Hi! I am very new at javascript. An assignment that I have I need to add an event handler to the submit button to run the addBid() function when the button is clicked. This is what I have and it is not working. When I place an amount in the input field and press submit I get an error. I am assuming this is incorrect. Any help is appreciated Thanks


<tr>
<th id="buttons" colspan="2">
<input type="button" value="Submit" onclick = "addBid()"/>
<input type="button" value="Remove Last Bid" onclick = "removeBid()"/>
</th>
</tr>

Philip M
11-15-2010, 08:42 AM
Why have you posted this here?

See:- http://www.codingforums.com/showthread.php?t=17515.

You will not get any reply in this forum which is intended to be used only to
post a completed (working) script for showcasing/benefit of others.

Before you post again please read the forum rules and posting guidelines.


It is your responsibility to die() if necessary….. - PHP Manual