当前路径: 星河码客 » 插件特效 » jquery回车生成动态标签

jquery回车生成动态标签

在标签输入框输入文字,然后回车,即可生成标签。当提交表单时,标签将提交一个数组。 $(document).ready(function () { $("#tags").tag({ width: 400, //Set a width of 400px height: 90, //Set a height of 90px inputName: 'tags', //Name the field 'inputName' key: ['enter', 'space', 'comma'], //Add tag on 'enter', 'space', or 'comma' clickRemove: true //Remove tag when clicked }); });

jquery回车生成动态标签

在线演示        积分下载        6毛下载        砍两刀下载       

文件目录······
暂无数据
 猜你喜欢 更多»
 工具推荐 更多»