I am trying to change content of a div in html.
So I have this div with the id contentindex and I want to load the htmlsnippet from offline/indexoffline.html in there.
I tried to do it with $loadlike that:
$("#contentindex").load("offline/indexoffline.html", function() {
});
This correctly loads the content, but it doesn't show the content in jQuery css. So I have jQuery Mobile css and js in the head of my index and on the index it loads correctly, but as soon as I use this $load it dies..
I hope someone can help, I am really suffering on that. :(
Thank you!