faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 46 people (15%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

Is there anyway to tell if a user has pressed Enter on the numeric pad or the keyboard?

Apr 5th, 2008 19:17
ha mo, Darton Williams, Suds Malone,


I haven't come across any, and I've been experimenting with keycodes 
extensively. Carriage return and Enter on the numeric pad both return 
the same value to IE, so there's no real way to tell them apart. Not 
too sure about Netscape...
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com