Hi, i have a div element with the attribute of "contentEditable" and insite this elements could be any amount of html, i need to call a function when focus is brought anywhere inside this element, i have tried:
$("div").attr("contentEditable").focus(function(){ alert("i have focus"); }); i have also tried to find all the children of the div with the attr of contentEdiable but i just cant seem to get the query right. could anyone help me on this one please?? Regards Robin.