Site icon Hip-Hop Website Design and Development

Get ajaxForm response worth

I’ve this ajaxForm:

$('.simple-checkout').ajaxForm({
success: perform (response) {
    console.log(response);
    alert("Success");
    $('.cart-value').load(location.href);
},
error: perform (response) {
    console.log(response);
    alert("Error");
}
});

Console log seems to be like this:

{success: true, knowledge: {…}}
knowledge
:
motion
:
“create_ajax_checkout”
add-to-cart
:
“530”
order_date
:
“2018-02-13, kedd”
amount
:
“1”
thwepof_product_fields
:
“order_date”
proto
:
Object
success
:
true
proto
:
Object

my query is can I get the response‘s amount someway?