forked from 0l4bone/payment-processor
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsubmitPayment.html
More file actions
31 lines (31 loc) · 915 Bytes
/
submitPayment.html
File metadata and controls
31 lines (31 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<script src="static/css/jquery.css"></script>
<script>
function Submit(n,jq){
objHTML = document.getElementById('content'+n).innerHTML;
if(jq){
$('#div').html(sanitizedHTML);
}else{
div.innerHTML=sanitizedHTML;
}
}
</script>
</head>
<body>
<form action="." method="POST">
</form>
<button onclick="Submit(3,true)">Submit</button>
</body>
<script>
$(document).ready(function() {
$("a[id^=view-paste]").click(function() {
var uuid = $(this).data("uuid");
$.get('/customers/display?paste_uuid=' + uuid, function(data) {
$('#display-paste').html(data);
});
});
});
</script>
</html>