title: jQuery - use wrap() to wrap multiple elements?
body: <p>How would I go about using <code>wrap()</code> to wrap multiple elements (with different classes) inside a <code>&lt;div&gt;</code>?</p>
  
  <p>For example, on the form I'm working on there is a big list of checkbox inputs and labels in the form of:</p>
  
  <pre><code>&lt;input&gt;
  &lt;label&gt;
  &lt;input&gt;
  &lt;label&gt;
  </code></pre>
  
  <p>etc</p>
  
  <p>I'm wanting to wrap a <code>&lt;div&gt;</code> around the input and label, so the result would be:</p>
  
  <pre><code>&lt;div&gt;
    &lt;input&gt;
    &lt;label&gt;
  &lt;/div&gt;
  &lt;div&gt;
    &lt;input&gt;
    &lt;label&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thanks!</p>