开发者

How do I skip the jQuery mobile page rendering stage?

开发者_开发问答I have a large page with lots of form objects that takes ages to render with jQuery mobile. At any one time most of the elements will be hidden with display:none.

I do not want jQuery mobile to render this page- it takes too long and the native form components are acceptable. I haven't found a way to use $.mobile.changePage() and skip the rendering.

Can anyone help?


There is no option to disable the rendering, unless you make that page an external link and load that page normally without using jquerymobile.js

What you can also do if part that form, as you say, you don't use most of the fields, why not asking a question to the user first and show a form with fewer input's? or automatically show the smallest form input and append a button to "advanced form" where you load the inputs you need... jQMobile way.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜