html5 tags are not working in phonegap-android
I am trying to use the html5 slider tag in my phonegap application. But the slider is not displaying on the Android emulator. I am using phonegap.0.9.4, android 2.2. Can anyone please tell me how to make html5 tags work in my application?
开发者_运维百科thanks in advance..
Is it returning your input as a "text" type input? The "range" type for input elements in HTML5 is likely not supported in the browser. You can try using jQuery's slider: http://jqueryui.com/demos/slider/
Unless you're trying to access device-specific functionality (GPS, camera, etc), the code you create for PhoneGap should be testable using a browser. Can you verify that your HTML is functioning properly in a browser, prior to testing it with the Android emulator?
If your code successfully runs in a browser, but fails to do so in the Android emulator... sharing the problematic code may help others pinpoint the source of your problem. Otherwise, no one will respond because there's nothing specific they can respond to.
精彩评论