Skip to content

Instantly share code, notes, and snippets.

@swalke16
Created September 10, 2010 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swalke16/573036 to your computer and use it in GitHub Desktop.
Save swalke16/573036 to your computer and use it in GitHub Desktop.
var scroller = new iScroll(document.getElementById('scroller'), {bounce: false});
$('select').bind('touchstart', function() {
scroller.destroy();
})
.bind('touchend', function()
{
scroller = new iScroll(document.getElementById('scroller'), {bounce: false);
})
.change(function(){
alert($(this).val())
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment