<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Can you show me a simple example code of how to use the XMLHttpRequest from Javascript? <br>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?<br>thanks<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: Michel Bany &lt;michel.bany@gmail.com&gt;<br>Para: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Enviado: viernes, 6 de abril, 2007 13:17:38<br>Asunto: Re: [Seaside] How to get the value of a javascript variable?<br><br><div><br>&gt; How can I get the value of "developer" variable from Smalltalk?<br><br>Hi
 Joseph,<br>You'll have to send a request using XMLHttpRequest from your javascript.<br>However, there will be many different solutions depending on your&nbsp;&nbsp;<br>actual need,<br>and your example does not tell what exactly you want to do in&nbsp;&nbsp;<br>Smalltalk with the<br>value of the variable. Can you provide more details about your&nbsp;&nbsp;<br>requirement.<br>Cheers,<br>Michel.<br><br>_______________________________________________<br>Seaside mailing list<br>Seaside@lists.squeakfoundation.org<br><a target="_blank" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></div></div><br></div></div><br>__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/ </body></html>