Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一个示例书签代码:
这个想法是将 websocket 消息发送到页面,这些消息将被转换为按键事件。
我基于此代码构建了自己的书签: https ://gist.github.com/2897748
我包括 jQuery 和 Socket.IO,一切都很好
我正在尝试制作一个通用的 JavaScript 函数来获取标签中的条目集合。例如:
有清单
<ul class="collection"> <li>First Entry</li> <li>Second Entry</li> <li>Third Ent