[Seaside] keypress event with argument
Bart Veenstra
bart.veenstra at gmail.com
Thu Jul 15 09:37:26 UTC 2010
what about
(JSFunction new) arguments: #('n');
2010/7/15 Lukas Renggli <renggli at gmail.com>
> Use
>
> JSStream argument: 0
>
> to access the first argument. The joy of positional arguments can also
> have its advantages :-)
>
> Lukas
>
> On 15 July 2010 11:14, Dennis Schetinin <chaetal at gmail.com> wrote:
> > That's ok, thanks.
> > But what about the argument my handler to be called with?
> >
> > $(document).keypress(
> > function(e){
> > ^^^
> > How can I get this one?
> >
> > 2010/7/15 Lukas Renggli <renggli at gmail.com>
> >>
> >> You can write
> >>
> >> html jQuery: (JSStream on: 'document')
> >>
> >> to get
> >>
> >> $(document)
> >>
> >> In JQuery-Core-lr.107 I've added the method #document to make this
> easier:
> >>
> >> html jQuery document
> >>
> >> Lukas
> >>
> >> --
> >> Lukas Renggli
> >> www.lukas-renggli.ch
> >> _______________________________________________
> >> seaside mailing list
> >> seaside at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> >
> > --
> > Dennis Schetinin
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100715/b9633838/attachment-0001.htm
More information about the seaside
mailing list