How to style forms using jQuery Mobile on a website
How can I use jQuery Mobile to style my forms? None of the other form styles look as cool.
Will it cause any conflict with jQuery plugins (i.e. cycle, validate, etc.) or cause conflict for any开发者_JS百科thing else on my site?
Also is there any way to just use the form part of jQuery Mobile?
PS: I know UI is coming up with it in version 2.0 but it's still a few months away, so don't suggest it.
jQuery Mobile will cause no conflicts with jquery plugins (well, almost), but it will try to override the way the page is constructed, so it won't look like it did upto now. You cannot use JQM without it rebuilding your interface to some extent. You have been warned.
But despite that - I belive you can make it work with your forms and style the site as well.
important tip:
<div data-role="page">
is now optional and you want it to be. Try not to use JQM's wrappers - it might make less changes to how the rest of the site looks
精彩评论