Is there any way to programmatically prevent the Ctrl-S dialog from opening
the Save As dialog?
I tried to capture the event as it bubbled up from within the form and then
called evt.stopPropagation() on it, but no luck.
No, a webpage cannot override the browser's keyboard shortcuts.
db48x
Basically it only works if the Ctrl-S is pressed in a form element (select,
input, textarea) and you just have to clobber the DOM event. You can find
code for doing this on page 433 of Javascript the Definitive Guide, 5th Ed.
(the block that begins with the comment 'Stop the event from
propagating...')
"Daniel Brooks" <dan...@mozdevgroup.com> wrote in message
news:m31wkxw...@db48x.waldenweb.com...