Javascript questions Re: [Seaside] Textarea and setSelectionRange()

Carl Gundel carlg at libertybasic.com
Tue Mar 17 18:50:37 UTC 2009


Okay.  Thanks, but isn't it fair to ask what should be Seaside idioms  
or best practices for using Javascript?

-Carl Gundel
Liberty BASIC for Windows - http://www.libertybasic.com
Run BASIC, easy web programming - http://www.runbasic.com

On Mar 17, 2009, at 1:44 PM, Lukas Renggli <renggli at gmail.com> wrote:

>> How is this done in Seaside?
>
> Almost certainly this is not specific to Seaside.
>
> Maybe your editor library has an special API or methods that get
> called in case of a special event.
>
>> What can I do to specify Javascript that will
>> be guaranteed to run after some other Javascript code?
>
> If this is your own code, then call you code at the end of the other
> code. Especially when it comes to DOM event, there is no guarantee in
> what order events are processed.
>
>> figure this out, but the going has been slow.  Has somebody written  
>> some
>> details on the use of Javascript with Seaside?
>
> Again, there is nothing Seaside specific in the way Javascript
> processes events. This is certainly one of the best documentations on
> events: <http://www.quirksmode.org/js/introevents.html>.
>
> Lukas
>
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list