watchesger.blogg.se

Javascript download for mobile
Javascript download for mobile





javascript download for mobile

There are quite a few that you can use, but here is one of the more popular options, Mobile Detect Library – Documentation.

javascript download for mobile

chrome, firefox, dolfin, etc.Ĭonsole.log( md.os() ) // android, ios, windwows, osx, or linuxĬonsole.log( md.version("Webkit") ) // webkit versionĬonsole.log( md.versionStr("Build") ) // buildįinally, if you really need to go down into the “micro-management level” of mobile detection – I will recommend you use a library instead. Combobox or scroller with multi-select, filtering, remote data and more. The download attribute can be used on the following elements: Examples Example Download file when clicking on the link (instead of navigating to the file):





Javascript download for mobile