The site has a field, with a sum that can be changed by a slider, or entered manually. When entering numbers manually, the slider can no longer be moved. Error in console:

closestHandle is undefined 

How can I solve the problem?

The library is worth the latest version.

  • You are an experienced visitor to this site. Give at least a piece of code. Show what values ​​you enter. - tutankhamun

1 answer 1

There is a suspicion that you enter NOT integer . Try to drive through parseFloat();

Also, please note that for such a slider, jQuery UI uses the% sign (percentages).