jQTouch with PhoneGap on webOS

Posted by Steve Nay on Stack Overflow See other posts from Stack Overflow or by Steve Nay
Published on 2010-06-10T23:17:39Z Indexed on 2010/06/10 23:23 UTC
Read the original article Hit count: 486

Filed under:
|
|
|

I'm writing an application in PhoneGap that I want to run on iOS, Android, and webOS. jQTouch plays nice with everything on iOS and Android, but not webOS.

Since the webOS Mojo framework is based on Prototype (which uses the $ variable), it's necessary to use jQuery in noConflict mode. I can handle that much.

However, the problem is that I also want to use the jQTouch plugin. The jqtouch.js file uses $ throughout, causing JavaScript errors when that file is loaded.

Is there a way to run the jQTouch plugin (or any plugin for that matter) in my PhoneGap application without interfering with Prototype?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about webos