I am trying to use jQuery.get(), since .load only loads the html snippet, but the jquery css isn't applied on this content.
$("#content").load("home.html", function() {
});
$.get('home.html', function(data) {
$('.content').html(data);
alert('Load was performed.');
});
When I type '#content' it loads an empty page. What means this data? Do I have to name something data to make it work?
Thanks!