You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to pass the value for slider from option dropdown value
when page loads, slider option value can be set using $('#profit').slider('value', x);
but when someone selection option menu to choose slider value its not working.
// option menu code
$("#ddl-loan-type").change( function() {
selected_state();
$('#profit').slider('value', x);
$("#profit").slider().update(); // getting error on this line i.e. update funcation not working
Hi, I am trying to pass the value for slider from option dropdown value
when page loads, slider option value can be set using $('#profit').slider('value', x);
but when someone selection option menu to choose slider value its not working.
// option menu code
$("#ddl-loan-type").change( function() {
selected_state();
$('#profit').slider('value', x);
$("#profit").slider().update(); // getting error on this line i.e. update funcation not working
//slider options code
var ProOptions = { from: 0,
to: 6, step: 0.1, round: 1, limits: false, scale: ['0%','1%' ,'2%' ,'3%' ,'4%' ,'5%', '6%'],
format: { format: '##.0', locale: 'de' }, dimension: ' %', skin: "round",
onstatechange: function( value ){
},
callback: function( value ){
}
};
$("#profit").slider(ProOptions);
$("#profit").slider("value", 5);
The text was updated successfully, but these errors were encountered: