626014.xhtml 406 B

123456789101112131415161718192021
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <script>
  4. <![CDATA[
  5. function boom()
  6. {
  7. document.getElementById("i").selectionEnd;
  8. document.getElementById("a").appendChild(document.getElementById("b"));
  9. }
  10. ]]>
  11. </script>
  12. </head>
  13. <body onload="boom();">
  14. <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>
  15. </body>
  16. </html>