Page 1 of 1

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

Posted: Fri Sep 26, 2014 9:30 pm
by girish

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


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

Posted: Fri Sep 26, 2014 10:24 pm
by obullei

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?


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

Posted: Sat Sep 27, 2014 10:42 am
by girish

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


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

Posted: Sun Sep 28, 2014 6:46 pm
by Alena Prykhodko

Hello,

Let us know if this solution helps https://getsatisfaction.com/apperyio/...


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

Posted: Sun Sep 28, 2014 7:18 pm
by girish

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.


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

Posted: Sun Sep 28, 2014 7:23 pm
by Alena Prykhodko

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

Tiggzi was Appery.io brand name previously.


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

Posted: Sun Sep 28, 2014 9:17 pm
by girish

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.


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

Posted: Mon Sep 29, 2014 2:35 pm
by Evgene Karachevtsev

Hello Girish,

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