[thelist] javascript question

Jeff Howden jeff at jeffhowden.com
Wed Sep 24 15:13:21 CDT 2003


> From: Tom Dell'Aringa
> function SuppressEnter(e)
> {
> 	if(event.keyCode==13) return false;
> }
> document.onkeydown = SuppressEnter;
> This is only tested in IE6, don't have the time right
> now to do anything else but used it on an IE only
> project.

gah, shame on you for breaking standard form behavior.

i feel better knowing it won't work on any non-ie browser or any browser
that has scripting disabled.

doesn't that make you feel better now too?



Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/

More information about the thelist mailing list