[Seaside] How to get the value of a javascript variable?

Michel Bany michel.bany at gmail.com
Sat Apr 7 09:40:55 UTC 2007


On 13 Apr 2007, at 19:19 , Joseph Blatter wrote:

> Can you show me a simple example code of how to use the  
> XMLHttpRequest from Javascript?

Hi Joseph,
I posted an example at ftp://ftp.bany.fr/seaside/GetBrowserInfo-mb.1.mcz
The example explicitely supports IE, Mozilla and Safari. May work  
with other browsers.
HTH
Michel


> I just want to detect the screen resolution of the clients to set  
> the right css configuration (from multiple css's). How to get this  
> value from XMLHttpRequest from Smalltalk?
> thanks
>





More information about the Seaside mailing list