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 Coder
    Join Date
    Jan 2009
    Thanked 0 Times in 0 Posts

    change "donated" amount field on web page when Google Checkout form submitted

    I have a webpage at http://manoamano.org/donate/donate2.html that
    shows that total amount donated with Google Checkout.
    Example: "$7,440 donated so far"
    I would like to update the dollar value ($7,440) on the page whenever
    a new donation is submitted through Google Checkout.
    I can't figure out how to trigger the javascript when the Checkout is
    submitted, also I would need to get the variable value from the form
    input box. This needs to get updated on the server side so that the new amount appears when the page is accessed in the future.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,662 Times in 2,631 Posts
    Java != Javascript.
    Moving to the Javascript forum. One of the client mods will determine for certain, but I'm thinking ajax is what you're looking for.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


    Tags for this Thread

    Posting Permissions

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