Does anyone else have trouble pulling a jQuery.get() from the mtgox /code/data/ticker.php? For the life of me I couldn't figure out why my jsonp request failed repeatedly. I put together a relay script to return it correctly, at least for my scripts. Feel free to use it.
http://btc.jalder.com/mtgox.phpexample usage:
$(document).ready(function() {
$('#update').click(function(){
$.get('http://btc.jalder.com/mtgox.php',null,function(data){
$.each(data, function() {
$.each(this, function(k,v) {
//Do something interesting with the data
});
});
},'jsonp');
return false;
});
});