[Seaside] Re: onkeypress Jquery

Lukas Renggli renggli at gmail.com
Fri Aug 20 06:18:57 UTC 2010

Furthermore, if you use JQuery you don't need to do such checks, event
objects get automatically normalized:


On 20 August 2010 07:50, TimM <tamackinnon at gmail.com> wrote:
> Apostolis Xekoukoulotakis wrote:
>> I want that when a specific key is pressed (like the escape key) , that an
>> action is performed . Can someone give me the exact answer using Jquery.
> If you look at the thread "JQuery Expressions" - Lukas wrote:
> "I usually suggest to try to factor out more complicated functions to
> an external Javascript file and just call them from Seaside. The code
> generation is really not designed for arbitrary expressions, although
> that would be an interesting project."
> I suspect your answer might be to put this code in an external file and then
> call it from Seaside.
> That said - is your function to prevent non-numeric input? If so there is
> aJQuery plugin for that - load up JQueryWidgetBox, I think it has examples
> for what you might need (I haven't got to this bit yet myself - but its on
> my hit list).
> Tim
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

Lukas Renggli

More information about the seaside mailing list