0 Replies Latest reply on Dec 14, 2017 10:30 PM by akira32

    Cordova Project(Visual Studio 2017) data-ajax and data-add-back-btn conflict

    akira32 Level 1

      My project is made by Visual Studio 2017 called Cordova project. I had add jQuery Mobile to my project and move the css and js to www directory. I discover that data-ajax="false" and data-add-back-btn="true" will be conflict,first page add data-ajax="false",switch to another page that had be added data-add-back-btn="true"), and then the return button on header will not be showed.

       

      Does anybody know how to solve this conflict of data-ajax="false" and data-add-back-btn="true"?

       

          <div data-role="page" id="page">

              <div data-role="header">

                  <h1>First Page</h1>

              </div>

              <div role="main" class="ui-content">

                  <p><a href="muti_page_2.html">Second Page</a></p>

                  <p><a href="muti_page_3.html" data-ajax="false">Thrid Page</a></p>

              </div>

              <div data-role="footer">

                  <h4>Footer</h4>

              </div>

          </div>

       

      muti_page_3.html

          <div data-role="page" id="page3">

              <div data-role="header" data-add-back-btn="true" data-back-btn-text="Return">

                  <h1>Third Page</h1>

              </div>

              <div role="main" class="ui-content">Content</div>

              <div data-role="footer">

                  <h4>Footer</h4>

              </div>

          </div>