Jquery mobile t.split is not a function

眉间皱痕 提交于 2019-12-20 06:18:59

问题


I'm working on a website that gets content dynamically from a database and puts them in the HTML code, which should consist of JQuery Mobile pages so I can click a link and it will slide to the corresponding page.

I'm running JQuery 1.9.1 and JQuery Mobile 1.3.1 to get the slide effect to work, but it's giving me an error saying "t.split is not a function". It also shows a large "LOADING" text in the middle of the page without any javascript there.

Am I missing something?

Edit: I've chosen to ignore this for now. Nobody is responding anymore and the problems are only getting worse.


回答1:


I've managed to solve the question by first running a simpler version with only the essentials for making a 2 page'd JQuery Mobile example. The problem was that using only numbers for an ID isn't accepted, and I was missing the JQuery Mobile CSS file which allowed for the transition that I was looking for.

I've applied those solutions to this project and it works.



来源:https://stackoverflow.com/questions/17670028/jquery-mobile-t-split-is-not-a-function

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!