Javascript, Ajax and form submission/response -
I hope that this is a simple solution, or its possible AJAX timeline!
I was using ClickBank on my page I had a simple button that sent the form data to a script, I processed the data, and then went to the "payment" link to end the script Added a redirect to. Good n 'easy
But now I'm switching to "Click2Sell" ... and there is a direct href on their site.
Now I can read the form using Javascript, place it in my "cp_" prefix, and create a super long (approximately 400 characters) query string and send it to my server, then the IPN Read the data again at the step ...
country = UK and region = essex & amp; Desc = This user has data recorded by 'whatever'
(But this is a little fact that some parts may be required
So I used this method Has been prepared:
& lt; javascript & gt; function send_data () {document.user.submit (); back true;} & lt; / javascript & gt; & lt; Div name = "noshowdiv" & gt; Object name = "nohow">
Comments
Post a Comment