开发者

Dropdowns don't work on webOS with PhoneGap?

I'm trying to use a dropdown in a PhoneGap app I'm writing. It uses a simple <select>:

<select>
  <option value="1">First</option>
  <option value="2">Second</opti开发者_JAVA百科on>
</select>

This works fine on Android and the iPhone (including behaving like a native drop-down would on those systems). However, it doesn't appear to work on webOS (neither the Palm Pre itself nor the emulator).

The <select> displays properly on the screen, but when I tap on it, nothing happens--I'm not able to make a selection from the dropdown.

Why might this be?


Just did some testing ... looks like its not a PhoneGap limitation, but in fact a webOS limitation -- webOS doesn't support select tags (wtf!). So this is a significant discovery ... I wonder what other tags are unsupported.

So will have to start investigating options for this. A script which replaces tags with Mojo list selector widgets is a thought ... but there may be some hurdles here.

Stay tuned to the phonegap.com blog roll for updates as we look into this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜