I am trying to get HTML code from a webpage that is not in the same domain. The html text is parsed & summarises a recipe(recipe name, main ingredients, no. of steps) found
The same origin applies. try this code and you'll face security error
$.get("other web page site", {}, function(content){ $("#receipe").html(content) }, "html")
btw, you'll more likely violate copyright law, so be wary ;-)