Problems with Paypal code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mlee
    New Member
    • May 2007
    • 1

    Problems with Paypal code

    Hi,

    I accept your advice to attempt to solve your problem yourself, and believe me I have been struggling over this for days...

    I am trying to add lists to a page that allow the user to select the appropriate size option and then buy through Paypal with the appropriate pricing allocated.

    I got one of these buttons to work on its own, but as soon as I added another, it all went wrong and I've tried to give the Functions unique names to overcome this.

    The price is still reverting to 1GBP, but I can't see what I've done wrong. I've tried checking the code using Firefox JS console.

    I'm using MacOSX Dreamweaver MX 2004.

    This is the temporary page which shows what I've done so far. (I am v inexperienced so probably not very tidy!)



    Thanks for any help.

    Mike L
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Mike,

    I am moving this to the HTML forum. They may move it on if they feel someone else can assist better.

    ADMIN

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      Yes, I believe this is a javascript problem.

      Comment

      • MMcCarthy
        Recognized Expert MVP
        • Aug 2006
        • 14387

        #4
        Originally posted by drhowarddrfine
        Yes, I believe this is a javascript problem.
        No problem I'll move it again. Thanks Doc.

        Mary

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          You need to put the numbers as string, e.g. 1.99 should "1.99"

          Comment

          Working...