JQuery Mobile - internal navigation page # page only works with double click on page load

When I load a jQuery multi-page page, the #hashed links for the inner page only work after the page is refreshed.

those. http://value.holiday/go/to/United_States_of_America/Albuquerque

By clicking directly on the image, the click will simply "evaporate". By reloading the page and doing it again, it works.

Am I missing something basic here?

thank

+3


source to share


1 answer


I found him. It turns out this has nothing to do with the actual page, but is caused by the page being loaded via jQmobile. Adding

          data-ajax="false" 

      



to the corresponding href did the trick.

0


source







All Articles