title: How to display loading widget from jquery mobile?
body: <p>I have a problem with the loading widget from jquery mobile. I use the version <strong>1.4.3</strong>.</p>
  
  <p>I have following code, but I never see the loading widget.</p>
  
  <pre><code>function .......() {   
  $.ajax({
    url: "https://.........../......./.........svc/..../" + ..........,
    type: 'GET',
    contentType: "application/json;charset=utf-8",
    beforeSend: function() {
       $.mobile.loading("show", {
          text: "some text",
          textVisible: true,
          theme: "a",
          textonly: false,
          html: ""
       });
    },
    success: function (data) {
       return data.RetValue;
    },
    error: function () {
       return false;
    }
    });
  }
  </code></pre>
  
  <p>I want that it shows the loading panel with a text below.</p>
  
  <p>Thanks for your help.</p>