Hi
I have the following piece of code:
<form action="/fake" >
<div id="root">
</div>
</form>
<script type="text/javascript">
var root = Element.extend($("root"));
function addTextControl()
{
var textCtl = new Element('div', { 'contenteditable': 'true'}).update("Next page");
root.appendChild(textCtl);
};
addTextControl();
</script>
It works perfectly in FF and Chrome, but not in IE8 :-(. What is the problem with it?
Thank you in advance