jquery mobile t.split不是一个函数 [英] Jquery mobile t.split is not a function

查看:398
本文介绍了jquery mobile t.split不是一个函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个从数据库动态获取内容的网站,并将它们放入HTML代码中,该代码应该由JQuery Mobile网页组成,因此我可以单击链接并滑动到相应的页面。



我正在运行JQuery 1.9.1和JQuery Mobile 1.3.1以获得幻灯片效果,但它给了我一个错误,提示t.split不是函数 。它还在页面中间显示了一个大的LOADING文本,没有任何javascript。



我错过了什么?



编辑:
我现在选择忽略这个。解决方案

我已经设法解决了这个问题,首先运行一个更简单的版本,只有制作2页JQuery Mobile示例的基本要素。问题是只使用数字作为ID是不被接受的,而且我错过了JQuery Mobile CSS文件,它允许我寻找过渡。



我已经将这些解决方案应用到了这个项目中,并且工作正常。


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.

解决方案

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.

这篇关于jquery mobile t.split不是一个函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆