I would suggest something like this (pseudo code)
$('#table_integer').hide().append('<div id="myslider" />');
$('#myslider').activateslider(return val to $(#table_integer).val );
// or how ever it works...
On Mon, Nov 2, 2009 at 5:41 AM, mr.freeze <[email protected]> wrote:
>
> You can create a widget that has the slider div ,a hidden input, and a
> script that puts the value of the slider in the input during the
> slidestop event on the slider.
>
> On Nov 1, 7:44 pm, Richard <[email protected]> wrote:
>> Hello,
>>
>> I want to use a slider widget (http://jqueryui.com/demos/slider) for
>> integer input in my form.
>> web2py uses an INPUT text box for integer input but the UI slider
>> widget expects a DIV and does not work with an INPUT box.
>>
>> So, how do you recommend I get my FORM working with the slider widget?
>> Can I somehow override the rendering of the integer input box to use a
>> DIV instead?
>>
>> Thanks,
>> Richard
> >
>
--
"Only two things are infinite, the universe and human stupidity, and
I'm not sure about the former."-Albert Einstein
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---