[Seaside] Checkbox and AJAX?

Johan Brichau johan at inceptive.be
Sat Jul 5 14:47:59 UTC 2014

On 05 Jul 2014, at 04:34, Mariano Martinez Peck <marianopeck at gmail.com> wrote:

> 			                          script: [ :s | s << ('$(''#tr', anInteger asString, ''').addClass(''selectedRow'');')]

Your code is generating a string response. You need to generate javascript:

	script: [ :s | s << (JSStream on: '$(''#tr', anInteger asString, ''').addClass(''selectedRow'')')]

Seaside serializes a Smalltalk string to a Javascript string. Therefore, you need to use a JSStream.


More information about the seaside mailing list