title: How to resize a window using JQuery?
body: <p>JQuery has an event called resize using which you can add an event handler when the window is resized e.g.</p>
  
  <pre><code>$(window).resize(function () {
  // code here
  });
  </code></pre>
  
  <p>What I'd need is to resize the window using a JQuery command; would that be possible?</p>
  
  <p>e.g. $(window).resize(-1, -1); // to decrease/increase the width and height of the window</p>
  
  <p>Thanks</p>