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
My browser is: Chrome, Firefox and other's I havent seen
Description
I have form on my page which has multiple text input fields. I wanted to add a range slider too. I added it via the code below. The issue is that whenever I open the page it is autofocusing on the slider which should not be the case. I checked the documentation to see whether there is any option to alter autofocus or not, but didn't find any. Could any one please help.
This is how I used it in my code:
var rangeSlider = function(){
var slider = $(document).find('.my-range-slider');
slider.each(function(){
var value = $(this).attr('value');
$(this).asRange({
step: $(this).attr('step'),
range: false,
min: parseInt($(this).attr('min')),
max: parseInt($(this).attr('max'))
});
$(this).asRange('val', value);
});
};
rangeSlider();
The text was updated successfully, but these errors were encountered:
Checklist
Description
I have form on my page which has multiple text input fields. I wanted to add a range slider too. I added it via the code below. The issue is that whenever I open the page it is autofocusing on the slider which should not be the case. I checked the documentation to see whether there is any option to alter autofocus or not, but didn't find any. Could any one please help.
This is how I used it in my code:
The text was updated successfully, but these errors were encountered: