Hello,<br><br>It is possible to use jQuery slider (or other UI elements) with Comet?<br><br>So, I take the Comet CTCounter example as the base, and there:<br>1. Create the slider:<br><br>#renderContentOn: html<br>...<br>html div id:#slider; script: (html jQuery new slider<br>
value: self model count;<br> onSlide: (html jQuery ajax<br> callback: [ :value | self model count: value asNumber. self update:nil ]<br> value: html jQuery this slider value)).<br>....<br>
<br>2. Update the slider's handle visual state in all connected browsers:<br><br>#update: anAspect<br><br>self pusher javascript: [ :script |<br> script << (script jQuery: #count)<br> text: self model count.<br>
<br> script << (script jQuery: #slider) slider value: self model count. "???"<br> "or script << (script jQuery: #slider) triggerChange "<br>].<br><br>But, it dose not work.<br><br>
Thanks for any points,<br><br>Nikolay<br><br><br>