revsystems/jQuery-SelectBox — pull request #53 by mturnwall (2013-03-18 23:06:58+00:00)
Title: updated so that iOS devices uses the default iOS picker wheel

I noticed that on iOS devices both the styled drop down and the iOS picker wheel would get displayed when the browser focused on a select element. This caused some problems because when a user would make a selection from the picker wheel the styled drop down would stay open and the value displayed in the "select" element wouldn't change. So to the user it would seem like their selection didn't work when it actually did behind the scenes.

I made an update that checks if the user is on a touch device or not. If the user is on a touch devices than the browser uses the built-in selection method for selecting items in a select menu. The styled drop down is never shown to the user.