1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!-- @SCRIPT: textarea.AXTextMarkerRangeForUIElement(textarea) proxy.AXTextMarkerRangeForUIElement(textarea) --> <!DOCTYPE html> <html> <head> <style> </style> </head> <body> <textarea id="textarea" style="font-family:monospace" rows="5" cols="15"> The quick brown fox jumps over the lazy dog </textarea> <span id="proxy"></span> </body> </html>