javascript

位置:IT落伍者 >> javascript >> 浏览文章

javascript keyCode


发布日期:2023年05月18日
 
javascript keyCode
<script>

windowonload = keyEvent;

function keyEvent() {

var bro = new Browser();

documentonkeydown = function(){

if (!broisIE()) {

var oEvent = arguments[];

var iKey = oEventkeyCode;

alert(iKey);

}else {

var oEventIE = windowevent;

alert(oEventIEkeyCode);

}

};

}

</script>

keycode = BackSpace BackSpace

keycode = Tab Tab

keycode = Clear

keycode = Enter

keycode = Shift_L

keycode = Control_L

keycode = Alt_L

keycode = Pause

keycode = Caps_Lock

keycode = Escape Escape

keycode = space space

keycode = Prior

keycode = Next

keycode = End

keycode = Home

keycode = Left

keycode = Up

keycode = Right

keycode = Down

keycode = Select

keycode = Print

keycode = Execute

keycode = Insert

keycode = Delete

keycode = Help

keycode = equal braceright

keycode = exclam onesuperior

keycode = quotedbl twosuperior

keycode = section threesuperior

keycode = dollar

keycode = percent

keycode = ampersand

keycode = slash braceleft

keycode = parenleft bracketleft

keycode = parenright bracketright

keycode = a A

keycode = b B

keycode = c C

keycode = d D

keycode = e E EuroSign

keycode = f F

keycode = g G

keycode = h H

keycode = i I

keycode = j J

keycode = k K

keycode = l L

keycode = m M mu

keycode = n N

keycode = o O

keycode = p P

keycode = q Q at

keycode = r R

keycode = s S

keycode = t T

keycode = u U

keycode = v V

keycode = w W

keycode = x X

keycode = y Y

keycode = z Z

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_ KP_

keycode = KP_Multiply KP_Multiply

keycode = KP_Add KP_Add

keycode = KP_Separator KP_Separator

keycode = KP_Subtract KP_Subtract

keycode = KP_Decimal KP_Decimal

keycode = KP_Divide KP_Divide

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = F

keycode = Num_Lock

keycode = Scroll_Lock

keycode = acute grave

keycode = comma semicolon

keycode = minus underscore

keycode = period colon

keycode = numbersign apostrophe

keycode = plusminus hyphen macron

keycode =

keycode = copyright registered

keycode = guillemotleft guillemotright

keycode = masculine ordfeminine

keycode = ae AE

keycode = cent yen

keycode = questiondown exclamdown

keycode = onequarter onehalf threequarters

keycode = less greater bar

keycode = plus asterisk asciitilde

keycode = multiply division

keycode = acircumflex Acircumflex

keycode = ecircumflex Ecircumflex

keycode = icircumflex Icircumflex

keycode = ocircumflex Ocircumflex

keycode = ucircumflex Ucircumflex

keycode = ntilde Ntilde

keycode = yacute Yacute

keycode = oslash Ooblique

keycode = aring Aring

keycode = ccedilla Ccedilla

keycode = thorn THORN

keycode = eth ETH

keycode = diaeresis cedilla currency

keycode = agrave Agrave atilde Atilde

keycode = egrave Egrave

keycode = igrave Igrave

keycode = ograve Ograve otilde Otilde

keycode = ugrave Ugrave

keycode = adiaeresis Adiaeresis

keycode = ediaeresis Ediaeresis

keycode = idiaeresis Idiaeresis

keycode = odiaeresis Odiaeresis

keycode = udiaeresis Udiaeresis

keycode = ssharp question backslash

keycode = asciicircum degree

keycode = sterling

keycode = Mode_switch

               

上一篇:Jsp环境下的AJAX乱码问题

下一篇:给大家讲个不错的ajax组件