title: java script functionality only in mobile device
body: <p>I want java script functionality only in mobile device 767px.
  This is my code</p>
  
  <pre><code>$('#my-btnn').click(function () {
      $('#mobile-login').hide();
      $('#user-settings').slideToggle('fast');
  });
  </code></pre>