Passing arguments from javascript

Annick Fron <[email protected]> Mon, 2 Nov 2020 14:54:21 +0100
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi,

	How is it possible to pass a javascript result to seaside ?

	I have successfully tried to use a hidden field as a vehicle, but is there a more elegant way ?

  html button
        id: html nextId;
        onClick: ((html jQuery id: 'toto' ) value: '3' );
        onClick: (html jQuery ajax callback: [:v | v inspect] value: (html jQuery id: 'toto') value);
        with: 'Click toto'.
    html hiddenInput id: 'toto’.

Annick
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside