[Seaside] Re: JQuery UI slider updates textfied and textfield updates slider: how to?

Lawson English lenglish5 at cox.net
Wed Sep 1 06:27:18 UTC 2010


  This is my version:

renderContentOn: html
     | label1 |

     html form:
     [
     html text: 'slider value here: '.
     label1 := html nextId.
     (html textInput id: label1)
        value: self current;
        callback: [ :value | self updateSlider: value].
    html div script:
     (html jQuery new slider
           value: self current;
           onSlide:
             (html jQuery ajax
              callback: [ :value | self updateSlider: value ]
             value: (html jQuery this slider getValue)),
          ((html jQuery id: label1)
             value: html jQuery this slider getValue))

     ]






On 8/31/10 9:05 PM, fritz schenk wrote:
> radoslav hodnicak<rh<at>  4096.sk>  writes:
>
> Would you mind repeating the entire working code for me?. I tried to follow, and
> my version is suffering of my lack of understanding.
>
> Thanks
>
> P.S. Would it be feasible to set up a demo environment as provider for jQuery in
> http://www.jsbin.com
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



More information about the seaside mailing list