Currently I am using an Ajax call to load a handlebar template from my local webserver into the application.
$.ajax({
url: "http://localhost/myTemplate.html",
cache: true,
success: function (data) {
template = Handlebars.compile(data);
$('#anyID').append(template);
}
});
Chrome on the Desktop does it fine, in contrast to my Android phone.
Is there a way to load the template correctly using PhoneGap?
Thanks a lot.