jQuery .append executes multiple times on single object
<p>I want to use jQuery .append to insert a div into an another parent div which is part of a list element and consists of one dynamically created form field. Although the parent class contains only one object (i.e. text field) and exists only once within the whole document, .append adds the div six times. It works finde in JSfiddle but not on my local code (Magento form). Why is that? Could it be related to the dynamical creation of the parent class?</p>

<p>PHP</p>

<pre><code>$input_name     = $this-&gt;getInputName();
$input_id       = $this-&gt;getInputId();
$input_value    = $this-&gt;getValue();
$input_class    = $this-&gt;getInputClass();
$label          = $this-&gt;getLabel();

&lt;div class="input-box &lt;?php echo $input_id;?&gt;"&gt;
 &lt;input type="text" name="&lt;?php echo $input_name;?&gt;" id="&lt;?php echo $input_id;?&gt;" value="&lt;?php echo $this-&gt;htmlEscape($input_value) ?&gt;" title="&lt;?php echo $this-&gt;__($label); ?&gt;" class="&lt;?php echo $input_class;?&gt;" /&gt;
&lt;/div&gt;
</code></pre>

<p>with jQuery</p>

<pre><code>$(".input-box.billing_postcode") .append("&lt;div&gt;My Link&lt;/div&gt;")
</code></pre>

<p>always leads to the follwing HTML</p>

<pre><code>&lt;li&gt;
&lt;div class="input-box billing_postcode"&gt;
&lt;input id="billing_postcode" class=" input-text required-entry absolute-advice " type="text" title="ZIP" value="" name="billing[postcode]"&gt;
&lt;div&gt;My Link&lt;/div&gt;
&lt;div&gt;My Link&lt;/div&gt;
&lt;div&gt;My Link&lt;/div&gt;
&lt;div&gt;My Link&lt;/div&gt;
&lt;div&gt;My Link&lt;/div&gt;
&lt;div&gt;My Link&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p></li></p>
