How to detect Javascript ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to detect Javascript ?

marten
  Hello,

I'm just a beginner with Seaside, but I would like to know, how can I
detect, that javascript is
allowed or not in my browser doing a request ? The answer for the "old"
way of doing it can be
found in lots of books - but how can I do it in Seaside ?

Thanks

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to detect Javascript ?

Lukas Renggli
The simplest is to do an AJAX request back to the server. If you get
this request the browser supports Javascript and you can remember it
in the session object.

Lukas

On 18 October 2010 23:17, Marten Feldtmann <[hidden email]> wrote:

>  Hello,
>
> I'm just a beginner with Seaside, but I would like to know, how can I
> detect, that javascript is
> allowed or not in my browser doing a request ? The answer for the "old" way
> of doing it can be
> found in lots of books - but how can I do it in Seaside ?
>
> Thanks
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside