Why won't this ajax post work
I'm not getting any errors.. I get Start and End in my console log.
$(
document).
on(
"click",
"#submitrfp",
function(
e){
console.
log(
'Start');
var
P =
$(
"#apurchase" ).
val();
var
L =
$(
"#alease" ).
val();
$.
ajax({
method:
"POST",
url:
"scripts/order-aircraft.php",
data: {
Purchase:
P,
Lease:
L}
})
.
done(
function(
result) {
console.
log(
'>>' );
})
console.
log(
'End');
});