I am using an application that uses an IE control to display content. I am modifying this content to contain the <div contentEditable="True">Hello World</div> element. This works well, and I can edit the contents of this div, but pressing Enter is rejected by a beep.
When I add a textarea element to this page, the Enter key works, and I can add lines, but not to the contentEditable element.
When I attach an event to this element, I see that pressing the Enter key raises the keyDown event, but not keyPress.
Anyone have an idea what might cause this?
Thanks,
splintor
source share