问题
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