Comments (5)
Cannot verify or replicate your use case.
The variable slider_XXXXXX
should be dynamically created at the beginning in the document head. It seems you are having some javascript problems - check for any other javascript errors (or asset dependency errors) - or clean up your assets and client cache and retry.
You may also want to disable any other javascript plugins (that may be erroring out) and try rendering view only with this widget and confirm.
from yii2-slider.
It's not generated in head. It's generated in footer. No other javascript errors occurs;
I've already cleaned up all assets and cache, but thing is it should genereate slider_349e56b4 with quatation. Now it does without.
<script src="/xxxx/basic/web/assets/3d9af0ba/yii.activeForm.js"></script> <script src="/xxxx/basic/web/assets/36d3b569/js/bootstrap.js"></script> <script type="text/javascript">jQuery(document).ready(function () { jQuery('#orderform-ram').slider(slider_349e56b4) $('#orderform-ram').on('slideStop', function(){$('#orderform-ram').trigger('change')});from yii2-slider.
Check line 7 on this http://pastebin.com/G02WGYeq, quatation is missed and this source is not parsed nor evaluated by any browser or something.
from yii2-slider.
slider_6c3130ac
is a javascript variable (not a string)- so NO QUOTES must be there. The variable is auto set by the extension in the HEAD, and later being used for plugin initialization in the end on doc ready. You should do a view page source and check for all instances of this variable. It maybe is facing a problem for your environment in this getting initialized in the HEAD and not getting read... anyway please debug your environment and let know - because cannot replicate any error you are facing.
from yii2-slider.
Thank you I was missing head() ?> which lead to missing variable.
from yii2-slider.
Related Issues (19)
- Value pluginOptions HOT 7
- $ instead of jQuery used in Slider.php
- renderAjax issue HOT 1
- Conflict with jquery ui slider HOT 5
- Update to latest release of bootstrap-slider plugin
- Formatter property is not passed correctly to plugin HOT 3
- Values not working in range select HOT 1
- Slider setting value to five instead of zero when value is set to zero HOT 3
- Append/Prepend options HOT 1
- What's the ID of the slider initialized?
- Unable to view tooltip
- Ability to append or prepend to the tooltip HOT 3
- Question: Composer warnings HOT 1
- Don't workin with inputs.
- Not null value if slider is not touched. HOT 1
- issue with ie8
- Enhance widget to use updated plugin registration from Krajee base HOT 1
- Slider just display Textbox, not like interface as in demo HOT 4
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 yii2-slider.