$j = jQuery.noConflict();
$j(document).ready(function() {
//$j(‘button’).remove();
//$j(‘button[name=”add-to-cart”]’).clone().addClass(‘it24_cart’).appendTo(‘div.quantity’);
//insertAfter
$j(‘button[name=”add-to-cart”]’).clone().addClass(‘it24_cart’).insertAfter(‘button[name=”add-to-cart”]’);

$j(‘button.it24_cart’).click(function() {
//alert(‘tada’)
$j(‘button.it24_cart’).ajaxComplete(function(){
//alert(‘tada’);
window.location.replace(“http://demo.it24.vn/sachtienganh/thanh-toan/”);
});

})

});

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x