[Seaside] Help with JQuery example

squeakman squeakman at gmail.com
Thu Aug 23 20:39:45 UTC 2012


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



More information about the seaside mailing list