and if you wonder how to display the values of a range slider while you drag the gizmo, a snipped of my code:<br><br><span style="font-family: courier new,monospace;">html div script: (html jQuery new slider</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    values: (Array with: from with: to);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    range: true;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    min: 0;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    max: 100;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    step: 5;</span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    onSlide: (JSFunction new</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">             add: ((html jQuery id: fromId) value: (html jQuery this slider getValueAt: 0));</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">             add: ((html jQuery id: toId) value: (html jQuery this slider getValueAt: 1));</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">             yourself)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">     ).</span><br><br>jquery in seaside is fun<br>
<br><div class="gmail_quote">On Fri, Aug 27, 2010 at 12:19 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 27 August 2010 11:34, Lawson English &lt;<a href="mailto:lenglish5@cox.net">lenglish5@cox.net</a>&gt; wrote:<br>
&gt;  I&#39;m trying to connect the display of slider values to text input sorta like<br>
&gt; the demos on the JQueryUI site, but I can&#39;t get the connection to go both<br>
&gt; ways. Changing the value in the text field and pressing return will reset<br>
&gt; the slider position, but changing the slider position doesn&#39;t update the<br>
&gt; text field.<br>
<br>
</div>You don&#39;t tell it to update the text field.<br>
<div class="im"><br>
&gt; MyTestSlider&gt;&gt;renderContentOn: html<br>
&gt;    self renderExplanationOn: html.<br>
&gt; html form: [<br>
&gt;          html text: &#39;slider value here: &#39;.<br>
&gt;      html textInput<br>
&gt;         value: self current;<br>
&gt;    callback: [ :value | self current: value ].<br>
&gt;   html div script: (html jQuery new slider<br>
&gt;      value: self current;<br>
&gt;      onStop: (html jQuery ajax<br>
&gt;  callback: [ :value | self current: value asNumber ]<br>
&gt; value: (html jQuery this slider getValue))<br>
<br>
</div>Try to add something along the following lines to your onStop: event:<br>
<br>
   , ((html jQuery id: &#39;id-of-your-textfield) value: html jQuery this<br>
slider getValue)<br>
<br>
Lukas<br>
<font color="#888888"><br>
--<br>
</font><div class="im">Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>