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.
我正在使用 socket.io 库在 node.js 上运行一个套接字连接。我的脚本顶部有一个连接到套接字的语句,我必须通过 jquery 在用户点击时加载动态内容来发出 ajax 请求。但不幸的是,每次我点击连接都会重新建立。我该如何阻止这个。
提前致谢