How do I apply jquery for mobile only?
<p>I need to apply the following jquery for mobile browsers only:</p>

<pre><code>&lt;script&gt;
   $('.right').insertBefore('left');
&lt;/script&gt;
</code></pre>

<p>This is to reorder the position of bootstrap columns.</p>

<p>How do I do this? Does it need to be wrapped in something?</p>