简体   繁体   中英

Triggering a phone's multi-select box

I'm working on a project that includes multi-select boxes on a mobile device. On mobile devices the default styling of multi-selects are very ugly. I want to do something similar to what is found with jQuery Mobile where you click on the link and it triggers the phone's multiselect box. However, due to how jQuery Mobile takes over your site, using jQueryM isn't really an option.

Does anyone know how I can trigger the selection/focus/click/tap of the multiselect box on a phone? I've tried doing a label, click and focus function but haven't had any luck.

Can anyone help me? Thanks!

Just checked firebug, on this particular page it's just a standard select menu with 0 opacity layered on top of the button. You -think- you're clicking the button, but it's actually a regular dropdown.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM