Hide jquery datepicker and show native in mobile
<p>I'm using datepicker from jquery-ui.
My input is <code>type=text</code>. I want to show datepicker only when I'm on desktop, but when I'm in mobile browser I want to show the native datepicker.
If I put <code>type=date</code> and i activate datepicker, it is showed together with the native datepicker, obviously.</p>

<p>How can I do to show jquery-datepicker in desktop and native in mobile?</p>