16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
(使用页面/文本对比查看器快速编辑) |
(使用页面/文本对比查看器快速编辑) |
||
====jquery.textSelection====
用於快速處理<code lang="css">textarea</code>相關的操作。比如CharInsert擴展就是主要基於這個模塊開發的。
*<code>textSelection(command, [options])</code>方法,以下所有指令均借助這一方法執行。
*<code lang="js">'encapsulateSelection
*<code lang="js">'getCaretPosition
*
*<code lang="js">'replaceSelection'</code>,替換選中文字。
*<code lang="js">'scrollToCaretPosition
*<code lang="js">'setSelection
====jquery.client====
|