We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
此插件基于jquery,仓库在这儿,主要用途如下
bower install jquery --save bower install jquery-cursor --save
<script src="jquery.js"><script> <script src="jquery-cursor.js"><script>
$('#textAreaId').cursor({ "text":"这是插入的一些文字,哪些位置被选中由下面两个参数决定", "beginPos":2, // 开头从0开始计数 "endPos":5 // 如果省略,则从beginPos一直选中到text的结尾 );
参考资料: https://gist.github.com/quexer/3619237
The text was updated successfully, but these errors were encountered:
No branches or pull requests
项目说明
此插件基于jquery,仓库在这儿,主要用途如下
使用方法
1. 安装
2. 引入
3. 使用
3.1 基本用法
参考资料:
https://gist.github.com/quexer/3619237
The text was updated successfully, but these errors were encountered: