Depending on what you wanna do a simple <noscript>[1] on your html
would be enough.


[1]http://www.w3schools.com/TAGS/tag_noscript.asp

On 5 jan, 16:01, Thadeus Burgess <[email protected]> wrote:
> no.
>
> Well... the only way to verify, is if you have an AJAX callback to the
> server.... if you receive the callback, they have javascript... if you
> don't receive one... then they dont.
>
> def receive_if_js():
>     session.has_javascript = True
>
> def index():
>     if session.has_javascript:
>       ...
>
> {{layout.html}}
>
> ajax('receive_if_js')
>
> -Thadeus
>
> On Tue, Jan 5, 2010 at 11:25 AM, K.R.Arun <[email protected]> wrote:
> > Is it possible to know whether client support Java Script or not from
> > the server side?
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "web2py-users" group.> To post to this group, send email 
> > [email protected].> To unsubscribe from this group, send email 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/web2py?hl=en.
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to