Build divs JS functions included in JS or jQuery from ajax & php data
Posted
by
dstonek
on Stack Overflow
See other posts from Stack Overflow
or by dstonek
Published on 2012-09-24T01:18:12Z
Indexed on
2012/09/24
3:37 UTC
Read the original article
Hit count: 128
JavaScript
|jQuery
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
<div id="ajaxSRC1" class="CLASS">
<a href="javascript:void(0)" onmouseover="return myFunction('ajaxSRC5', 'ajaxSRC6')">
<img src="ajaxSRC2" width="ajaxSRC3" height="ajaxSRC4" alt="..." />
</a>
</div>
© Stack Overflow or respective owner