IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

IonRangeSlider throwing error ionRangeSlider() is not a function #652

Closed Utkarsh9799 closed 4 years ago

Utkarsh9799 commented 5 years ago

I am trying to use ionRangeSlider() in my React app, but I am unable to use it because I'm getting an error that ionRangeSlider() isn't a function. I used CDNs before and it didn't seem to be working so I installed jQuery and ion-rangeslider modules and removed jQuery CDN to avoid clash, and worked out everything but it still is throwing the error TypeError: $range.ionRangeSlider is not a function

I have put my ionRangeSlider code in componentDidMount() function. How can I fix this?

IonDen commented 5 years ago

Try this guide: https://reactjs.org/docs/integrating-with-other-libraries.html