On Jan 5, 11:01 pm, 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
>
>

Hi Thadeus,
Your suggestion looks cool :-) and a good solution for me
Thank You

Arun
-- 
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