title: Serializing a subset of form
body: <p>I have a form that embeds another form:</p>
  
  <pre><code>&lt;form&gt;
    &lt;input type="text" name="main[name]"&gt;
    &lt;textarea name="main[body]"&gt;&lt;/textarea&gt;
    &lt;div id="embedded"&gt;
      &lt;input type="text" name="main[embedded][name]"&gt;
      &lt;textarea name="main[embedded][body]"&gt;&lt;/textarea&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I need to serialize the embedded form only.</p>
  
  <p><code>$('#embedded').serialize()</code> results in empty string.</p>