Results 1 to 3 of 3

Thread: PayPal code

  1. #1
    Join Date
    Sep 2006
    Posts
    204
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default PayPal code

    I'm having a problem with Dreamweaver and a bit of paypal code which is as follows:

    Code:
    INPUT name="myform" id="myform" onclick=CalculateOrder(this.form) type="image" alt="Make payments with PayPal - it's fast, free and secure!" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border=0 name="submit">
        <img alt="" border="0" src="pixel.gif" width="1" height="1">
    Dreamwaver complains that:

    Invalid Markup, Marked invalid because it contains a duplicate attribute

    <INPUT Remove the duplicate attribute in Code View

    Can anybody see the issue here?

    Thanks

  2. #2
    Join Date
    Mar 2008
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi Chet

    For a start, you have two "name" attributes on the input tag. Perhaps Dreamweaver put one in for you? Try removing the first one: name="myform"

    Hope it helps
    Dan

  3. #3
    Join Date
    Sep 2006
    Posts
    204
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default

    Nice one, thanks Dan

    Chet

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Code - a value between two values?
    By creativeworks in forum Macromedia Flash
    Replies: 7
    Last Post: 11th April 2007, 10:26 AM
  2. Which form to email ASP Code
    By s80wkr in forum Technical Support
    Replies: 1
    Last Post: 31st May 2006, 04:08 PM
  3. Paypal Control
    By Viking in forum ASP.NET
    Replies: 10
    Last Post: 1st April 2006, 10:26 AM
  4. PayPal and IPN
    By Viking in forum ASP.NET
    Replies: 16
    Last Post: 24th March 2006, 01:48 AM
  5. browserCaps code
    By jaimalchohan in forum ASP.NET
    Replies: 0
    Last Post: 9th November 2005, 04:08 PM

Bookmarks

Posting Permissions

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