星空网 > 软件开发 > Java

今天以前的同事问我怎么实现@功能

我就想,这样的功能应该有现成的吧,

果不其然,一下就找到了,站在巨人的肩膀上果然很快:)

https://github.com/ichord/At.js

 

1 <link href="css/jquery.atwho.css" rel="stylesheet">2 <script src='/images/loading.gif' data-original="http://code.jquery.com/jquery.js"></script>3 <script src='/images/loading.gif' data-original="js/jquery.caret.js"></script>4 <script src='/images/loading.gif' data-original="js/jquery.atwho.js"></script>5 6 $('#inputor').atwho({7   at: "@",8   data:['Peter', 'Tom', 'Anne']9 })

代码通俗易懂,简介明快




原标题:今天以前的同事问我怎么实现@功能

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

修改类目:https://www.goluckyvip.com/tag/44272.html
宿迁综试区:https://www.goluckyvip.com/tag/44274.html
虚假保单:https://www.goluckyvip.com/tag/44275.html
虚假发货:https://www.goluckyvip.com/tag/44276.html
虚假广告:https://www.goluckyvip.com/tag/44277.html
虚假宣传:https://www.goluckyvip.com/tag/44278.html
三亚有哪些酒店值得入住?:https://www.vstour.cn/a/366173.html
零售晚报:丽人丽妆2023年扭亏为盈 玉容初、美壹堂等自有品牌增速超40% :https://www.kjdsnews.com/a/1836649.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流