girish
Posts: 0
Joined: Sat Aug 30, 2014 12:15 pm

How do i set value, min, max values for the slider component?

How do i dynamically set the value for a slider's min, max, value property using javascript?

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

How do i set value, min, max values for the slider component?

Hello!

You can set slider's min, max, value using our builder:
http://blog.appery.io/2014/08/buildin...
Is it important for you to set this value using JavaScript?

girish
Posts: 0
Joined: Sat Aug 30, 2014 12:15 pm

How do i set value, min, max values for the slider component?

yes, I need to set it dynamically via javascript only. Have mentioned that in my question only.

girish
Posts: 0
Joined: Sat Aug 30, 2014 12:15 pm

How do i set value, min, max values for the slider component?

I earlier referred to this post. What is this new term "Tiggzi"? When we are developing standard applications, how can we use terms at random? I can understand if it was Appery("..."). But this new word has no documentation in the standard tutorials. Kindly suggest a standard way of referencing this slider component.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How do i set value, min, max values for the slider component?

Sorry have not mentioned this.
Use Appery('...') instead.

Tiggzi was Appery.io brand name previously.

girish
Posts: 0
Joined: Sat Aug 30, 2014 12:15 pm

How do i set value, min, max values for the slider component?

Thanks. So if I give this as
var sliderMax = Appery("mobilesliderName").attr("max"); will it work?

What if I want it to be more generic and not use Appery? Like
$(div[name='mobilesliderName']).attr("max"); will this work? If not, pls provide the correct syntax.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How do i set value, min, max values for the slider component?

Hello Girish,

Such code should work:
pre$('input[name="mobileslider_34"]').attr('max', 150).slider('refresh');/pre

Return to “Issues”