Build divs JS functions included in JS or jQuery from ajax & php data
<p>If a user checks a form checkbox I want to create a new div. Dynamic data is loaded from ajax and php. I am asking how to create it with JS or jQuery. A simplified version will look something like</p>

<pre><code>&lt;div id="ajaxSRC1" class="CLASS"&gt;
   &lt;a href="javascript:void(0)" onmouseover="return myFunction('ajaxSRC5', 'ajaxSRC6')"&gt;
      &lt;img src="ajaxSRC2" width="ajaxSRC3" height="ajaxSRC4" alt="..." /&gt;
   &lt;/a&gt;
&lt;/div&gt;
</code></pre>
