SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Why is this simple form not being auto submitted by jQuery giving a blank page?

    Hi guys,

    This is part of our shopping cart and when it attempts to redirect to 3D secure it just gives a blank page with the following code as part of the source...

    Code:
    <script type="text/javascript">jQuery(document).ready(function(){ jQuery('#threedsecure').submit(); });</script>
    <title>3D Secure Verification</title></head>
    <body>
    <form name="threedsecure" action="https://secure.barclaycard.co.uk/barclays/tdsecure/pa.jsp?partner=barclaycard.mc" method="POST">
    <input type="hidden" name="PaReq" value="xxx" />
    <input type="hidden" name="TermUrl" value="xxx" />
    <input type="hidden" name="MD" value="xxx" />
    <noscript>
    <div style="text-align: center"><p>Please click button below to Authenticate your card.</p><p><input type="submit" value="Go" /></p></div>
    </noscript>
    It's just not submitting it and not showing the button to do it manually, is something missing?

    The only thing preventing site launch now! Cheers...

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems the cart developer has identified the issue at last. Adding form id="" did it!


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
  •