Using Jqurey Mobile without the Ajax/caching stuff?
I like the jQuery mobile, but new to it and new to jQuery. I am having issues with the caching. Ive used
$('a').live('click', function() {
var $this = $(this);
if ( !$this.attr('rel') || $this.attr('rel') != 'external' )
$(document.getElementById( $this.attr('href') )).remove();
});
to disable it, but it does work all the time. Ive also had trouble setting up default transitions, I put in
$.mobile.defaultTransition('none');
without any effect.
With these 2 key issues, I just want to turn off the rewriting of the <a> tags and just let it load normally. I tried
$.mobile.ajaxLinksEnabled(false);
without any effect.
Also, im testing in Chrome to start with. Is that possibly causing the issues?
What I like at the styles and widgets in the mobile library. So does anyone know a way to turn off that link ajax stuff?