-
Oct 11th, 2021, 11:59 AM
#1
[RESOLVED] Looking to access this FORM from my web page
[edit] Question withdrawn - was going down the complete wrong direction here - forget you read this! [/edit]
I'm looking to have my webpage do a GET to this CASHNET site - sample HTML from there documentation below.
I tried putting this into an IFRAME - got no where.
Tried using a FORMDATA object and jQuery .AJAX call.
Thoughts?
Code:
<html>
<head>
<title>Our Checkout</title>
</head>
<body>
<form method="get" action="https://commerce.cashnet.com/CheckoutName">
<input type="hidden" name="itemcode" value="PSYCH-CONF"><br>
<input type="hidden" name="amount" value="124.00"><br>
<input type="hidden" name="itemcode2" value="PSYCH-LUNCH"><br>
<input type="hidden" name="amount2" value="15.60"><br>
<input type="submit" name="submit" value="Make Payment">
</form>
</body>
</html>
Last edited by szlamany; Oct 11th, 2021 at 03:35 PM.
-
Oct 18th, 2021, 03:54 PM
#2
Re: [RESOLVED] Looking to access this FORM from my web page
Did you wind up handling the submit event, preventing the submit from taking place, then making an AJAX request using the desired values?
-
Oct 19th, 2021, 05:13 AM
#3
Re: [RESOLVED] Looking to access this FORM from my web page
Originally Posted by dday9
Did you wind up handling the submit event, preventing the submit from taking place, then making an AJAX request using the desired values?
I was handed that "html" as if I was going to use it somehow - that was bad info.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|