question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to use this without jquery (vanilla js)

See original GitHub issue

Are 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:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
morenoh149commented, Apr 22, 2020

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?”

1reaction
andrewtelnovcommented, Apr 22, 2020

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found