title: How to refresh all select fields on changing to landscape mode with selectBoxIt?
body: <p>i need help. Was working on it but i couldn't solve the issue!</p>
  
  <p>The documentation says it's possible to rebuild all sleect fields.
  <a href="http://gregfranko.com/jquery.selectBoxIt.js/#MethodAPI" rel="nofollow">http://gregfranko.com/jquery.selectBoxIt.js/#MethodAPI</a></p>
  
  <p>I need a solution to rebuild all select fields on changing to landscape to put the width back to 100% and vise versa.
  That is what Igot so far!</p>
  
  <pre><code>var selectBox = $("select").selectBoxIt().data("selectBoxIt");
  
  window.onresize = function() {
      $("select").selectBoxIt().refresh();
  }
  </code></pre>