I want to be able to manipulate the html of a given url. Something like html scraping. I know this can be done using curl or some scraping library.But i would like to know i
Its not that difficult.
$(document).ready(function() { baseUrl = "http://www.somedomain.com/"; $.ajax({ url: baseUrl, type: "get", dataType: "", success: function(data) { //do something with data } }); });
I think this can give you a good clue - http://jsfiddle.net/skelly/m4QCt/