Dynamic Web Development with Seaside

21.5.3Update Multiple Elements

 html div id: #date.
html div id: #time.

html anchor
onClick: (html jQuery ajax script: [ :s |
s << (s jQuery: #date)
html: [ :r | r render: Date today ].
s << (s jQuery: #time)
html: [ :r | r render: Time now ] ]);
with: 'Update'
§
How To
Open a Lightbox
Replace a Component
This is a draft chapter.

Copyright © 19 March 2024 Stéphane Ducasse, Lukas Renggli, C. David Shaffer, Rick Zaccone
This book is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.

This book is published using Seaside, Magritte and the Pier book publishing engine.