Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Javascript / Client Side Development

simple cross browser key handler


Hi Does anyone have a simple function that captures a keystroke that
works cross browser? I just want to redirect a page when a user hits
esc... you'd think it would be easy!

Cheers,
Ciarn

Ciaran said the following on 5/21/2007 12:27 PM:

> Hi Does anyone have a simple function that captures a keystroke that
> works cross browser? I just want to redirect a page when a user hits
> esc... you'd think it would be easy!

About as easy as determining why anybody would think that a regular
person would think that pressing the Esc key would lead to navigation.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

Hi Does anyone have a simple function that captures a keystroke that
works cross browser? I just want to redirect a page when a user hits
esc... you'd think it would be easy!

Cheers,
Ciarn

Hi Does anyone have a simple function that captures a keystroke that
works cross browser? I just want to redirect a page when a user hits
esc... you'd think it would be easy!

Cheers,
Ciarn

Hi has anyone got a function that can detect a user pressing a key
that works cross browser?
I just want to redirect my visitor if they hit escape ... you'd think
it would be easy!
Thanks,
Ciarn
Hi Does anyone have a simple function that captures a keystroke that
works cross browser? I just want to redirect a page when a user hits
esc... you'd think it would be easy!

Cheers,
Ciarn

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc