阅读背景:

Javascript document.all和document.getSelection - Firefox替代方案

来源:互联网 

The script below will replace selected word in a textarea. But it only works on IE. Any idea how to make it work on Firefox? (The problem seems to lie in (document.all)? document.selection.createRange() : document.getSelection();)The script below will replace selected word in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: