Recently I found ierange library which is a great implementation of W3C DOM Ranges for Internet Explorer.
Using it and PrototypeJS I’ve created edit in place feature to easily change the content of a div element.
<head> ... <!--[if IE]> <script type="text/javascript" src="ierange-m2.js"></script> < ![endif]--> ... </head> <body> <div id="eip"> <div id="start">Click to edit and start typing. <br />Enter to confirm. ESC to reset.</div> <div id="text">This is some simple text which you can easily change if you want this is some simple text which you can easily change if you want</div> </div> </body>