Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Thanked 0 Times in 0 Posts

    Javascript submit buttom issue

    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

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

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    London, England
    Thanked 2,538 Times in 2,516 Posts
    Why have you posted this here?

    See:- *** WARNING: Questions posted here will be deleted! ***.

    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


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts