philchanet
12/6/2016 - 11:59 AM

Boostrap select - Mobile Switch bootstrap select to native mobile selector

Boostrap select - Mobile Switch bootstrap select to native mobile selector

<script>
    if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {
        $('.selectpicker').selectpicker('mobile');
    }
</script>