[Seaside] bind onScroll event with Ajax call to body tag

Karsten Kusche karsten at heeg.de
Thu Mar 30 11:19:22 UTC 2017


Hi Sabine,


html mdlLayoutContent
onScroll: (html jQuery ajax script: [ :s |
...do something with my model so I don't want use pure javascript... ]);
with: aBlock.


you can keep the handler and just register it with the body via:

html document addLoadScript: ((html jQuery:’body’) onScroll:…)

Kind Regards
Karsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170330/06191610/attachment.html>


More information about the seaside mailing list