I'm trying to develop an app for Google Chrome: Packaged Apps
In my apolicação, use the command $.get
to retrieve an HTML page and insert it into the current page:
Page HTML
<body>
<div id="wrap"></div>
</body>
Script
$.get(url, function(html) {
$("#wrap").html(html);
});
The error occurs on the line: $("#wrap").html(html);
Attempts
Searching the internet, I found this question here on stackoverflow, but this did not help me much.
Another detail is that this example is not a Chrome Web App. This same example, works perfectly posted on the Internet at: http://ridermansb.kodingen.com/