Just wanted to leave a note here in commiseration - I have also been unsuccessful in calling the jquery library into the header 😑
Here is the code you have to put in the header of your survey for loading JQuery with simple layout :
<script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
Instead of change the parameters of #plug with jQuery, you can use a CSS personnalised code :
#plug {
display: none;
}
Hope it help,
Jonas
Hey Jonas - truly appreciate the help, but I got the following error in the web console when adding that code to the survey header:
[Error] Error executing custom js:
ReferenceError: Can't find variable: jQuery
(anonymous function) — SV_1FYIXoWeXj7epU2:9
(anonymous function) — main.2c731849.js:1:30467
forEach
fe — main.2c731849.js:1:30448
(anonymous function) — main.2c731849.js:1:137009
forEach
s — main.2c731849.js:1:136988
(anonymous function) — main.2c731849.js:1:75030
f — 9902.0c33c754.js:1:98000
(anonymous function) — 9902.0c33c754.js:1:97785
s — 4414.d8e4790e.js:1:240728
(anonymous function) (main.2c731849.js:1:30492)
forEach
fe (main.2c731849.js:1:30448)
(anonymous function) (main.2c731849.js:1:137009)
forEach
s (main.2c731849.js:1:136988)
(anonymous function) (main.2c731849.js:1:75030)
f (9902.0c33c754.js:1:98000)
(anonymous function) (9902.0c33c754.js:1:97785)
s (4414.d8e4790e.js:1:240728)
Also, I thought CSS only deals with presentation? I’m actually trying to use jQuery to limit the number of input characters, which would be a functional restriction.