Comments (5)
same problem. I don't know how to solve it
from ion.rangeslider.
The same here.
from ion.rangeslider.
Assuming you included all the dependencies. Here is my approach in a separate js file that I included in my HTML file. It works for me.
"use strict";
var range_slider_custom = {
init: function () {
$("#my-slider").ionRangeSlider({
type: "double",
skin: "round",
grid: false,
min: 0,
max: 5000,
keyboard: true,
hide_min_max: true,
onChange: function (data) {
var min = document.getElementById("min_price");
var max = document.getElementById("max_price");
min.setAttribute("placeholder", data.from);
max.setAttribute("placeholder", data.to);
},
}),
},
};
(function ($) {
"use strict";
range_slider_custom.init();
})(jQuery);
I hope that is helpful. Make sure you include all js files in correct order and add them as type="module"
from ion.rangeslider.
this issue reproduces for me too: i upgraded to angular 15, and bootstrap 5, and i started getting this error:
...ERROR TypeError: this.$(...).ionRangeSlider is not a function
from ion.rangeslider.
I encountered a similar problem when I connected jQuery via CDN and imported it into a Vue project at the same time. I recommend checking all jQuery connections in the project.
from ion.rangeslider.
Related Issues (20)
- ionRangeSlider data.step unreadable HOT 3
- How to hide latest caption HOT 1
- Issue with grid 1-4 HOT 1
- Range slider with labels and custom values
- prefix to right HOT 1
- Can we add custom text on each steps?
- Display issue when parent element is using display: inline-flex or display: flex HOT 2
- Adding new sliders via JS
- Allow typing input-values HOT 2
- Use it without jQuery HOT 1
- Is it possible to set the initial value to 50% (center on the scale, for zero)? HOT 1
- Singular / Plural postfix
- How to disable dragging of slider when i drag thumb of <Slider> from material Ui
- Change color
- Slider Calcutation HOT 2
- Change backgroup irs-line dinamic HOT 1
- define `onFinish` using data-* attribute
- Changing array values
- Ionrangeslider HTMX integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion.rangeslider.