"Roger Demetrescu" <[EMAIL PROTECTED]> writes: > Hi Godoy ! :) > > > I usually use a container which intercepts Enter key press.: > > <form action="foobar"> > <span onkeydown="if (event.keyCode == 13){return false;}"> > <input type="text" name="value1" /> > <input type="text" name="value2" /> > <input type="text" name="value3" /> > <input type="text" name="value4" /> > </span> > <input type="submit" value="search" /> > </form>
This is a very simplistic form, it would solve most of my cases, indeed, but I was looking more for something that I could attach to individual elements. I'll use this as a starting point, though. Thanks. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---