here is the extract of my code
$("#temp").append('<div class="dynamic">' );
$("#temp").append(a[i]);
$("#temp").append("</div>");
this content is inside a for loop and dynamically add elements to div with id temp.
what i think it should produce is
<div id="temp">
.....
<div class="dynamic">
Education //value of a[i]
</div>
....
</div>
but what exactly it produces it
<div id="temp">
<div class="dynamic"></div>
Education
as confirmed from firebug. Because of which my css styling just breaks up.
Can you look into it? Thank you