Range Input


#1

I have been making a new range using this code:

but when I do this, it gives me zero for the value:

$("#speechSpeed").change(function(event, value) {
console.info(“value changed to”, value);
}
Does anyone know why? thanks.


#2

This looks like a jQuery range input. The $("#speechSpeed").change is certainly jQuery. You’re going to have a pretty tough time with that using Angular. You may want to use the Ionic range input and use data binding to set the value.

Here’s a working example : http://plnkr.co/edit/ULmvU0nJeQpChyEU02a3?p=preview

NOTE : That is really old code; so, there may be a few changes.