我遇到了一些关于jquery mobile的问题。当我从第一页转到第二页时,它没有像应该显示的那样显示第二页,我需要每次刷新页面。似乎最初缺少一些CSS类。我不明白为什么会发生这种情况。
我正在使用CSS:http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css JS:http://code.jquery.com/jquery-1.6.4.min.js和http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js。
在同一页上,我有这个锚标签。
我正在使用CSS:http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css JS:http://code.jquery.com/jquery-1.6.4.min.js和http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js。
在同一页上,我有这个锚标签。
<a href="" onClick="showText()">showText</a>
showText()方法第一次不调用,显示javascript错误showText未定义,但当我刷新页面时它正常工作。