原创 javascript獲取textarea光標位置,內容方法(IE, Firefox)

<html>  <head>  <title>TEST</title>  <style>  body,td{      font-family: verdana, arial, helvetica, sans-serif;      fo