开发者

How can I make a JQuery UI slider and a textbox coexist on a mobile browser?

开发者 https://www.devze.com 2023-01-19 04:38 出处:网络
I\'m trying to have a jQuery UI Slider on a webpage to be displayed on an Android phone. The slider does not work by default, but when JS code that converts tou开发者_运维问答ch events to mouse events

I'm trying to have a jQuery UI Slider on a webpage to be displayed on an Android phone. The slider does not work by default, but when JS code that converts tou开发者_运维问答ch events to mouse events is dropped in (http://ross.posterous.com/2008/08/19/iphone-touch-events-in-javascript/), the slider works.

Only problem being, with the new code, if there's also textboxes on the page, they no longer focus when tapped on.

How can I solve one problem without creating another?

0

精彩评论

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

关注公众号