开发者

jqtouch and redirecting

开发者 https://www.devze.com 2023-01-08 05:38 出处:网络
I am using JQTouch and I am trying to load a new page into the current page. Unfortunately JQTouch automatically adds a \'#\' to the url and thus the url cannot be opened.

I am using JQTouch and I am trying to load a new page into the current page. Unfortunately JQTouch automatically adds a '#' to the url and thus the url cannot be opened.

in order words,

<li class="arrow"><a href="categories.html">Categories</a></li>

would not work.

Any suggestions please?

Tha开发者_StackOverflow社区nks, C.


To link to external url's in jqtouch you have to use the target="_webapp". I.e. change your html to:

<li class="arrow"><a href="categories.html" target="_webapp">Categories</a></li>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号