I don't know why your example doesn't trigger. If you're trying to submit the form when clicking on the button, this should work (provided you create the input fields properly with callbacks, e.g. with #on:of)<div>
<br></div><div>html submitButton onClick: (html jQuery ajax serializeForm; script: [:s| my callback here]); with: 'Click me'</div><div><br></div><div>rado<br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 10:39 PM, squeakman <span dir="ltr"><<a href="mailto:squeakman@gmail.com" target="_blank">squeakman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello List,<br>
<br>
I am trying to learn how to use jQuery. I have the following simple example but the callback is never triggered when I hit the submit button.<br>
<br>
I have included the JQuery library in my configuration.<br>
<br>
Can you tell me what is wrong?<br>
<br>
renderContentOn: html<br>
<br>
html form with:<br>
[html label with: 'Name'.<br>
(html textInput)<br>
id: #temp;<br>
value: 'sample text'.<br>
<br>
html submitButton onClick: (html jQuery ajax<br>
callback: [:v | self halt]<br>
value: (html jQuery: #temp) value)]<br>
<br>
<br>
With Thanks,<br>
Frank<br>
<br>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</blockquote></div><br></div>