I'm building in a password protected folder, jquery ajax loader takes over anchor & won't load

I'm building in a password protected folder, jquery ajax loader takes over anchor & won't load

Hi

I'm an experienced web developer but I've not used jQuery before. I'm developing in a password-protected directory on a shared host.

I've set up a mobile-style menu. The links that are outside the protected directory work fine, the ones to pages inside, don't.

As far as I can tell, that might be because jQuery is using Ajax to load the page .. why, it's just a link?

I've tried a few things to switch it off and nothing's worked so far.

On click, I end up looking at a grey disc, coded thus:
  1. <div  class="ui-loader ui-corner-all ui-body-a ui-loader-default" > <span  class="ui-icon-loading" > </span>

I've basically cut-and-pasted a few bits of code to try to switch off ajax loading, a normal HTML link will work just fine .. the latest was
  1. <script>
  2.     $(document).on("mobileinit", function(){
  3.         $.mobile.ajaxEnabled=false;
  4.         $.mobile.loadingMessage = false;
  5.     });
  6. </script>
(apologies, I haven't the foggiest what that does, I've two jQuery books on the way .. )

but there's also
  1. <a  class="ui-link"  data-disabled="true"  href="howItWorks.php" > How it works</a>

(btw it fails whether it's a full URL or not).

Is my basic thinking wrong? Is jQuery tied to ajax loading?

What should I try next? All help appreciated.

Cheers
J