'; $('#content').append(content_modal); } function getModalContent(product_id){ $.ajax({ url: 'index.php?route=module/boss_quick_shop_product/&product_id=' + product_id, dataType: 'json', beforeSend: function() { $('.loading').html(' '); $('#myModal .modal-dialog').html(''); }, complete: function() { $('.wait').remove(); }, success: function(json) { $('#myModal .modal-dialog').html(json['html']); } }); } //-->