[Seaside] Help with JQuery example
Bob Arning
arning315 at comcast.net
Thu Aug 23 21:14:43 UTC 2012
submit buttons think *they* know what to do with your click, but...
[snip]
html button bePush; onClick: (html jQuery ajax
[snip]
works.
On 8/23/12 4:39 PM, squeakman wrote:
> Hello List,
>
> 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.
>
> I have included the JQuery library in my configuration.
>
> Can you tell me what is wrong?
>
> renderContentOn: html
>
> html form with:
> [html label with: 'Name'.
> (html textInput)
> id: #temp;
> value: 'sample text'.
>
> html submitButton onClick: (html jQuery ajax
> callback: [:v | self halt]
> value: (html jQuery: #temp) value)]
>
>
> With Thanks,
> Frank
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120823/903dad4a/attachment.htm
More information about the seaside
mailing list