[Seaside] how can I use result of onLoad() javascript function in session or view

Bob Arning arning315 at comcast.net
Mon Feb 3 16:35:31 UTC 2014

Maybe you don't even need that.

     html div
         onClick: (html jQuery ajax
             callback: [ :var | var halt]
             value: (JSStream on: 'detectHtmlDate5()')
         with: 'testing'.

var is 'true' when I click on this. So, something like this could tell 
you what to render next. Alternately, the onload code could store the 
result in a js var which gets returned by the above method when user clicks.


On 2/3/14 11:00 AM, Sabine Knöfel wrote:
> short version of my question:
> how can I use the result of a javascript function which is called onLoad
> within my smalltalk code? Eg. set the result in an inst var of view or
> session?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20140203/4aa878e4/attachment.htm

More information about the seaside mailing list