[Seaside] Re: onkeypress Jquery
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
> 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).
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside