PDA

View Full Version : Alternatives to .html()



iisthesloth
11-14-2008, 10:06 PM
Hey, i'm working on a site now in which i'm having some dynamic html insert in to a div using:


<script type="text/javascript">
<!--
//$(document).ready(function() {
$('#dynamicTop').html('<p>my code</p>');
//});
//-->
</script>

This works well, but i'm having some code conflict when a user uses a Telerik form that uses an AJAX function I believe. This is causing the inserted html to disappear. Is their any good alternatives to add in my dynamic html code to my div? Thanks.