I have a site built using Twitter Bootstrap, but I'd like to incorporate jQuery Mobile's accordion widgets for collapsible content. I've used their download builder and selected only the accordion widget. I think the problem is there is still some code in the core jquery.mobile.js file that conflicts with bootstrap.js, because it ends up changing my links' behavior in the nav menu. It treats every regular link as an ajax request, which really screws with my app.
Does anyone have experience with jQuery mobile and Bootstrap? Is there a way to change default settings so that only the accordion widget is manipulated? Or is there a better mobile-friendly alternative to that widget? I sincerely appreciate just about any help I can get on this!
I should have updated this a while ago. To disable ajax, run:
This will cause all the links to be treated as normal anchors, making it compatible with Bootstrap.