摘要: 在Jquery中,$是JQuery的别名,所有使用$的地方也都可以使用JQuery来替换,如$('#msg')等同于JQuery('#msg')的写法。然而,当我们引入多个js库后,在另外一个js库中也定义了$符号的话,那么我们在使用$符号时就发生了冲突。下面以引入两个库文件jquery.js和prototype.js为例来进行说明。 第一种情况:jquery.js在prototype.js之后进行引入,如: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Co 阅读全文
posted @ 2011-11-15 17:54 火腿骑士 阅读(145) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>chainningcode</title><scriptsrc="../scripts/jquery-1.2.3.intell 阅读全文
posted @ 2011-11-15 09:33 火腿骑士 阅读(142) 评论(0) 推荐(0) 编辑
摘要: C# Socket异步通信 服务器端TCPServer1、使用的通讯通道:socket2、用到的基本功能:Bind, Listen,BeginAcceptEndAcceptBeginReceiveEndReceive3、函数参数说明Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Socketlistener=newSocket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType. 阅读全文
posted @ 2011-11-15 09:17 火腿骑士 阅读(441) 评论(0) 推荐(1) 编辑