Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:javascript [13.02.2018 09:17] – Update adminen:create:javascript [19.03.2021 09:40] – [Inserting JavaScript] sophia.schauer
Line 23: Line 23:
 ===== Inserting JavaScript ===== ===== Inserting JavaScript =====
  
-Create new text element in **Text Elements and Labels** in order to use JavaScript on page in the questionnaire. This element will contain HTML code and the actual JavaScript code between the ''<script>'' tags within this +In order to use JavaScript on page of the questionnaire, one puts 
 +  * either in a section with **Add text** 
 +  * or under **Text Elements and Labels** 
 +you create new text element. Select the //Formating// "HTML code" for the text
  
 <code javascript> <code javascript>
Line 58: Line 61:
  
  
-===== Fehler finden =====+===== Troubleshooting =====
  
 If the JavaScript code does not work as it should, there is the browser's error console for debugging. These can be found -- depending on the browser -- in different places ([[http://webmasters.stackexchange.com/a/77337/30902|Stackexchange: Shortcuts]], [[https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis|Wordpress: Diagnosis]], [[http://www.stramaxon.com/2013/10/developer-tools-in-browser.html|How to Open Developer Tools]]). If the JavaScript code does not work as it should, there is the browser's error console for debugging. These can be found -- depending on the browser -- in different places ([[http://webmasters.stackexchange.com/a/77337/30902|Stackexchange: Shortcuts]], [[https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis|Wordpress: Diagnosis]], [[http://www.stramaxon.com/2013/10/developer-tools-in-browser.html|How to Open Developer Tools]]).
en/create/javascript.txt · Last modified: 12.06.2022 14:00 by christina.treppy
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki