#37 new
Karanveer Singh

Drop down not working in android webview

Reported by Karanveer Singh | May 27th, 2011 @ 02:33 AM

I wanted to create a drop down, so I created a webview :

var startMonth = Ti.UI.createWebView({
    top:50,
    left:10,
    width:300,
    url:"http://10.0.2.2/8.html",
    html:startMonthHtml
win.add(startMonth);
});

8.html contains :

<html><body>
<select id='month' bgcolor='#5a5c64'>
<option value=\"jan\">jan</option>
<option value=\"feb\">feb</option>
<option value=\"mar\">mar</option>
</select>

</body></html>

On launching the app, it renders the drop down, however on clicking the dropdown, it doesn't "drop down". Nothing happens.

I'm using Mobile SDK 1.6.2 and Android 2.2, on Ubuntu 10.04

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages