1.docuement.selection只支持IE
?
2.window.getSelection 支持ff/chrome/opera
3.无光标的时候 ff和opera的 element.selectionStart返回的是element.value.length
?? chrome返回的是0