I cannot seem to append HTML into a div tag. For instance, if I do this:
$(".someDiv").dblclick(function(){
alert("here");
$(this).html("<b>hello!</b>");
});
OR
$(".someDiv").dblclick(function(){
alert("here");
$(this).append("<b>hello!</b>");
});
However, if I exclude any HTML tags, the function works just fine. I have searched around online and no one seems to be having this problem... I am using Chrome. Any help is greatly appreciated!