Hey actually i want to insert some sticky notes through my firefox plugin but when it comes to image pages ("http://digitalimages.bhaskar.com/dainikrajasthan//EpaperImages%5C12042010%5Cosd-large.jpg"). it contains a body element. but whenever i try to append any child than it does not insert it as html element. it escapes it first and than insert it in. ex-
var markDiv = $('').addClass('global-mark-div').addClass('div-sm-ann').css({ left: '0px', top: '0px' }).appendTo(grabWin.document.body).toggle();
than it inserts this as escaped html
why?