url parameters - How to get right result from "whateverorigin.org" despite of question mark? -
i tried out "whateverorigin.org" overcoming cross-domain policy. works fine, except if url of other page contains parameters , question mark.
var url = 'http://www.example.com/something?parameter=test'; $.getjson('http://whateverorigin.org/get?url=' + encodeuricomponent(url) + '&callback=?', function(data){ var html = ""+data.contents; $("#output").html(html); });
the question mark doesn't recognized, page not being found. there solution issue?
Comments
Post a Comment