Closed 14nd90 closed 7 years ago
Related PR: https://github.com/lcdsantos/jQuery-Selectric/pull/128
Consider this code
`$("#sort-dropdown").selectric({ disableOnMobile: false, nativeOnMobile: true });
$("#sort-link").click(function(e) { e.preventDefault(); $("#sort-dropdown").selectric('open'); });`
My aim is to use a link to open the dropdown list. Works great on desktop but not on mobile devices. Is there any way to trigger the native mobile select functionality ?
Sorry, have only just seen this, which I think is a duplicate.
Related PR: https://github.com/lcdsantos/jQuery-Selectric/pull/128
Consider this code
`$("#sort-dropdown").selectric({ disableOnMobile: false, nativeOnMobile: true });
$("#sort-link").click(function(e) { e.preventDefault(); $("#sort-dropdown").selectric('open'); });`
My aim is to use a link to open the dropdown list. Works great on desktop but not on mobile devices. Is there any way to trigger the native mobile select functionality ?