Select option in iPhone and Android browsers.

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-03-17T22:01:21Z Indexed on 2010/03/17 22:11 UTC
Read the original article Hit count: 226

Filed under:
|
|
|
|

I'd like a select box that will alert the value when the user selects the option. (in iPhone)

<select>
<option>
1
</option>
<option>
2
</option>
<option>
3
</option>
</select>

In my web browser on the desktop, I can do: onclick, but on the phone, onclick doesn't work.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about browser