Callback Function For JQuery .html()?
I have the following code: $.ajax({ type: 'GET', url: 'index.php?route=checkout/onepagecheckout/getpaypaldata', dataType: 'json', success: function(json) {
Solution 1:
You may try this
success: function(json) {
$('#pp_info').html(json['output']).promise().done(function(){
$('#payment').submit();
});
}
Post a Comment for "Callback Function For JQuery .html()?"