Cross Browser call using jsonp but returning XML

Deadguy

New Member
I want to get the data returned from this URL using a purely Client side approachhttp://steamcommunity.com/id/rahulkadukar/stats/TheElderScrollsVSkyrim/?tab=achievements&xml=1This is my code as of now\[code\] <script type="text/javascript"> $(document).ready(function() { var data; $('#New').click(function() { $.ajax({ type: "GET", url: "http://steamcommunity.com/id/rahulkadukar/stats/TheElderScrollsVSkyrim/?tab=achievements&xml=1", dataType: "jsonp", success: readData(data) }) function readData(data) { console.log(data); } }); }); </script>\[/code\]Can someone tell me what I should do, so that I can get the data from Steam into a json variableThanks for your help
 
Back
Top