<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>Hi list. After some magic inspiration, I guessed the onLoadScripts is the right place to put a javascript function for doing something like &lt;body onLoad="putamala()"&gt;.<br><br>onLoadScripts<br>&nbsp;&nbsp; ^super onLoadScripts asOrderedCollection <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; add: 'putamala()';<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; yourself<br><br>and then defined the #script method with this:<br><br>^ 'function putamala() {<br>&nbsp;&nbsp; if (doYouLikeSmalltalk)<br>&nbsp;&nbsp;&nbsp; developer = ("cool");<br>&nbsp; else<br>&nbsp;&nbsp;&nbsp; if (doYouLikePython)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 developer = ("sucks");<br>&nbsp; ....<br>}'<br><br>How can I get the value of "developer" variable from Smalltalk?<br><br>thanks in advace<br><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>