626014.xhtml (406B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <script> 4 <![CDATA[ 5 6 function boom() 7 { 8 document.getElementById("i").selectionEnd; 9 document.getElementById("a").appendChild(document.getElementById("b")); 10 } 11 12 ]]> 13 </script> 14 </head> 15 <body onload="boom();"> 16 17 <mrow xmlns="http://www.w3.org/1998/Math/MathML" id="a"><mrow id="b"/><input xmlns="http://www.w3.org/1999/xhtml" id="i" /></mrow> 18 19 </body> 20 </html>