KnockoutJs + jQueryMobile Slider
I have been having some struggle with the jQuery Mobile slider. It is kind of non-standard in the way that it removes the original Range input from the DOM and replaces it with its own. The one it inserts in has the same ID as the removed one. It's actually really tricky to get 2 way binding to work with the jQuery Mobile Slider and Knockout. After scouring the interwebs for advice on jQuery Mobile Slider + Knockout Js, I ended up creating my own custom Knockout binding to wire up the 2 way binding.
Okay. We got a nice slider and the normal old text input is still left next to it. So just add this CSS to your style sheet, prefixing with the appropriate container if you want to be more specific.
1/6/2013 12:34:12 am
3/24/2013 06:14:10 pm
to hide the textbox u could simply use following class inside the label:
Your comment will be posted after it is approved.
Leave a Reply.
About the Author