Tag: sagepay

为什么jQuery没有提交此表单? (或者我做错了什么?: – p)

HTML: JS: $(“#payment_proceed”).click(function() { $.post(‘/includes/cart/ajax/sagepay.php’, { //This script just echos the base64 “Crypt” string required by sagepay. “cart_id”: , “title”: $(“#title”).val(), “first_name”: $(“#first_name”).val(), “last_name”: $(“#last_name”).val(), “telephone”: $(“#telephone”).val(), “email”: $(“#email”).val(), “line1”: $(“#line1”).val(), “line2”: $(“#line2”).val(), “line3”: $(“#line3”).val(), “town”: $(“#town”).val(), “county”: $(“#county”).val(), “postcode”: $(“#postcode”).val() }, function(crypt){ $(“#Crypt”).val(crypt); //The base64 “Crypt” string is inserted in to the hidden form […]