Result of serialize()
<p>maybe someone can explain me why the following code do a output with backslahes etc.</p>

<pre><code>The Ajax-Call is
$.ajax({
      type: 'POST',
      url: 'system/ajx/form_generator.php?ajx=1',
      data: $('#formstep').serialize(),
      success: function(result){
      $('#formarea').html(result);
      }
  });
</code></pre>

<p>The Html is</p>

<pre><code>&lt;form id="formstep" action=""&gt;
&lt;div class="form-group"&gt;
&lt;label class="control-label"&gt;Ich suche&lt;/label&gt;
&lt;select id="produktgruppe" class="sselect" data-validation-error-msg="Bitte wählen Sie eine Gruppe aus" data-validation="required" name="produktgruppe"&gt;
&lt;option&gt;&lt;/option&gt;
&lt;option value="1""&gt;Büromöbel&lt;/option&gt;
&lt;option value="2""&gt;Büro- &amp; Schreibwaren&lt;/option&gt;
&lt;option value="3""&gt;Druckerzubehör&lt;/option&gt;
&lt;option value="4""&gt;Geschenkartikel&lt;/option&gt;
&lt;/select&gt;
&lt;/div&gt;
&lt;/form&gt;
</code></pre>

<p>And the result in my <code>php</code> file for <code>print_r($_POST)</code> is that</p>

<pre><code>1 ) produktgruppe-&gt;1\\\"
</code></pre>

<p>Why he add the <code>\</code> and the <code>"</code> ?</p>