Read the source of any web page with Javascript on Server Code
hi! I am newbie to javascript.
i am trying to read the source of url but it isn't working.
code
var content = $.getJSON("http://pastebin.com/raw.php?i=PPiy6zwq");
// format as JSON and return the response
response.success(content, "application/json");
/code