Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

js capture of ctrl-s combo

Status
Not open for further replies.

www2004

Programmer
Aug 11, 2004
15
0
0
US
how can javascript capture the ctrl-s combo? i've been testing in ie all morning with different suggestions with no luck. it seems the browser is catching it before i can.
 
this is working, but i was wondering if any of you were familiar with stopping the "beep" that ie sounds with ctrl-s press....
 
I haven't tested it, but try it:

if (event.ctrlKey && event.keyCode == 83) {
event.keyCode = 0;
blah blah;
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top