Whenever I use .html withing a jQuery function such as jQuery.ajax it appends in Interent Explorer. Anybody knows what could be causing this?
<script language="javascript">
/*
jQuery("#data-grid").html('<b>test</b>');
jQuery("#data-grid").html('<b>test2</b>');
*/
</script>
OUTPUT: test 2
<script language="javascript">
jQuery(function() {
jQuery("#data-grid").html('<b>test</b>');
jQuery("#data-grid").html('<b>test2</b>');
});
</script>
OUTPUT: test test2