¿çä¯ÀÀÆ÷³£ÓÃʼþ

µ¼Óï ¿çä¯ÀÀÆ÷Ìí¼Óʼþfunction addEvent(obj, type, fn) {if (obj addEventListener) {obj addEventListener(type, fn, false);} else if (obj attachEvent) {obj attachEvent(& 39;on& 39; + type,

//¿çä¯ÀÀÆ÷Ìí¼Óʼþ 
function addEvent(obj, type, fn) {
if (obj.addEventListener) {
obj.addEventListener(type, fn, false);
} else if (obj.attachEvent) {
obj.attachEvent('on' + type, function () {
fn.call(obj);
});
}
}
 
//¿çä¯ÀÀÆ÷ÒƳýʼþ
function removeEvent(obj, type, fn) {
if (obj.removeEventListener) {
obj.removeEventListener(type, fn, false);
} else if (obj.detachEvent) {
obj.detachEvent('on' + type, fn);
}
}
 
//¿çä¯ÀÀÆ÷×èֹĬÈÏÐÐΪ
function preDef(evt) {
var e = evt || window.event;
if (e.preventDefault) {
e.preventDefault();
} else {
e.returnValue = false;
}
}
 
//¿çä¯ÀÀÆ÷»ñÈ¡Ä¿±ê¶ÔÏó
function getTarget(evt) {
if (evt.target) { //W3C
return evt.target;
} else if (window.event.srcElement) { //IE
return window.event.srcElement;
}
}
 
//¿çä¯ÀÀÆ÷»ñÈ¡×Ö·û±àÂë
function getCharCode(evt) {
var e = evt || window.event;
if (typeof e.charCode == 'number') {
return e.charCode;
} else {
return e.keyCode;
}
}
http://www.aseoe.com/ true ¿çä¯ÀÀÆ÷³£ÓÃʼþ http://www.aseoe.com/show-12-320-1.html report <£¿php echo strlen($content) / 2; ?> ¿çä¯ÀÀÆ÷Ìí¼Óʼþfunction addEvent(obj, type, fn) {if (obj addEventListener) {obj addEventListener(type, fn, false);} else if (obj attachEvent) {obj attachEvent(& 39;on& 39; + type,
TAG:ä¯ÀÀÆ÷ ʼþ
±¾Õ¾»¶Ó­ÈκÎÐÎʽµÄתÔØ£¬µ«ÇëÎñ±Ø×¢Ã÷³ö´¦£¬×ðÖØËûÈËÀͶ¯³É¹û
תÔØÇë×¢Ã÷£º ÎÄÕÂתÔØ×Ô£º°®Ë¼×ÊÔ´Íø http://www.aseoe.com/show-12-320-1.html

[Ç°¶Ë²å¼þÍƼö] Plugin

1 2 3 4
  • jQueryʵÏÖÖð×ÖÖð¾äÏÔʾ²å¼þl-by-l.min.js
  • jQuery´ø·½Ïò¸ÐÖªµÄÊó±ê»¬¹ýͼƬ±ß¿òÌØЧ²å¼þ
  • jQuery HotKeys¼àÌý¼üÅÌ°´ÏÂʼþkeydown²å¼þ
  • ÏìӦʽÎÞÏÞÂÖ²¥jQueryÐýתľÂí²å¼þ
ÏìӦʽÎÞÏÞÂÖ²¥jQueryÐýתľÂí²å¼þ
webÇ°¶Ë¿ª·¢
°®Ë¼×ÊÔ´Íø Copyright 2012-2014 Www.Aseoe.Com All rights reserved.(½úICP±¸13001436ºÅ-1)