<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ah, thank you very much Lukas. I was operating under the assumption that I could use a temporary variable and it just occurred to me I may have been wrong (which, of course, I was).<br><br>RS<br><br>&gt; Date: Sun, 21 Jun 2009 11:29:51 +0200<br>&gt; Subject: Re: [Seaside] jQuery - ajax setting temporary or ivars<br>&gt; From: renggli@gmail.com<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; <br>&gt; &gt; I guess I'm confused about the way Ajax works. Isn't it typically for<br>&gt; &gt; loading/uploading files from/to the server?<br>&gt; <br>&gt; Ajax works always works like this: It is a Javascript that does a<br>&gt; request on the server. What the server does with the request and what<br>&gt; the Javascript does with the response is up to you.<br>&gt; <br>&gt; For example the following code<br>&gt; <br>&gt;     html div<br>&gt;         onClick: (html ajax callback: [ count := count + 1 ]);<br>&gt;         with: 'Click Me'<br>&gt; <br>&gt; increments 'count' whenever somebody clicks on the element, otherwise<br>&gt; nothing happens.<br>&gt; <br>&gt; To also update the element you have to render some HTML, like this:<br>&gt; <br>&gt;     html div<br>&gt;         onClick: (html this load html: [ :r | r render: (count := count + 1) ])<br>&gt;         with: 'Click Me'<br>&gt; <br>&gt; Cheers,<br>&gt; Lukas<br>&gt; <br>&gt; -- <br>&gt; Lukas Renggli<br>&gt; http://www.lukas-renggli.ch<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br><br /><hr />Microsoft brings you a new way to search the web. <a href='http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1' target='_new'>Try  Bing™ now</a></body>
</html>