Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type:'get',
- url:"https://onlinefutcoinstore.myshopify.com/collections/xbox-fifa-coins/products/xbox-360-fifa-17-ultimate-team-coins.xml",
- cache: false,
- dataType: "xml",
- success:function(result){
- var temp = 0;
- var product = $(result).find('variant');
- $(product).each(function( index ) {
- var price = $(product).find('price').text();
- console.log(price);
- coinPrice[temp] = price;
- temp++;
- });
- }});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement