I am using the Select2 jQuery plugin to improve the elements <select>in our project. However, on mobile devices (smartphones, tablets), Select2 actually impairs performance. In my opinion, the native elements of choice are better.
We are already detecting smartphones using regular expressions http://detectmobilebrowser.com/ , but they do not match the tables (and we would like to keep smartphones and tablets separately). Is there a link to regular expressions for the tablet like detectmobilebrowswer.com or another way to detect tablets?
source
share