[thelist] javascript & forms

James Spahr james at designframe.com
Mon Apr 3 14:16:30 2000


Thanks everyone for the input - basically here's what I wound up doing-

<input onkeypress="keypress_callback" name='foo'>

<script>
    function keypress_callback () {
        if (window.event.keycode == 13) {
            do stuff
        }
    </script>

easy!

James
(Geez - did I learn all about IE5/ Mac's failings this weekend - I could
write a book. Maybe I will... )