[Seaside] Passing arguments from javascript

Annick Fron list at afceurope.com
Mon Nov 2 13:54:21 UTC 2020


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


More information about the seaside mailing list