Is it possible to use this without jquery (vanilla js)
See original GitHub issueAre you requesting a feature, reporting a bug or asking a question?
question
I would like to use this library in a traditional django app. I do not use webpack yet. I use <script> tags to import all my dependencies.
What files do I need from https://github.com/surveyjs/builds/tree/master/1.7.3 ?
Studying https://surveyjs.io/Examples/Library?id=real-product-fit-market&platform=jQuery&theme=default#
looks like I want
- survey.min.css
- survey.jquery.min.css
- jquery
is it possible to use survey.core.min.js
and omit jquery?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Cheat sheet for moving from jQuery to vanilla JavaScript
This reference guide will help you convert jQuery's most common patterns to vanilla JavaScript.
Read more >Replacing jQuery with Vanilla JavaScript - DEV Community
One of the reference sites I like (because of the side-by-side replacement options) is You Might Not Need jQuery.
Read more >You Might Not Need jQuery
You might not need jQuery. jQuery and its cousins are great, and by all means use them if it makes it easier to...
Read more >Need make this code without JQuery, in Vanilla JavaScript
Who can help me make this code without JQuery because I don't know how to make this without JQuery. missClick(event){ const parentDiv =...
Read more >When can you use Javascript only, without jQuery? - Quora
You can use JavaScript everywhere. There is no requirement to use jQuery for anything, and as jQuery itself written in JavaScript, everything done...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To clarify this sounds like a usability issue. It is not clear as someone building a vanillajs project that they should use the selfcontained knockout version. The solution could be to clarify this usecase in the quick start.
As someone unfamiliar with your project I see knockout and I think “I dont want to use any framework. Where is the survey.min.js?”
@morenoh149 We have framework independed code, SurveyJS Model, then code that uses any of these three frameworks: knockout, react or vue. jQuery and Angular, in fact, using knockout version. SurveyJS Model could not render the survey and these three frameworks can. We do not have vanila version, because our survey is not a survey with couple question types. It is a platform for building complex surveys and forms.
Thank you, Andrew