Javascript Reference
Categories: event

javascript event which

@March 15, 2008, 1:22 a.m.
whichFirefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM n/a

Read-only

Returns a value relevant to the type of event. For mouse events, the property value is an integer indicating which mouse button was used (1 is the left button; 3 is the right button). For keyboard events, the property value is an integer of the keyboard character ASCII code. This property survives in Netscape 6 as a carryover from the Navigator 4 event model. Use the button, charCode, and keyCode properties if you no longer need to support Navigator 4.

 
Example
 
if (evt.which == 65) {
    ...
}
 
Value

Integer.

 
Default

None.

order amoxil pills - <a href="https://combamoxi.com/ipratropium/">cost combivent 100mcg</a> ipratropium tablet
Ghhzyn - 1 weeks
buy isotretinoin 20mg generic - <a href="https://isotadron.com/linezolid/">buy generic linezolid 600mg</a> buy linezolid medication
Lgqmft - 1 weeks
purchase deltasone generic - <a href="https://starlisone.com/">deltasone 20mg over the counter</a> capoten buy online
Blswse - 2 weeks

Powered by Linode.