Javascript

Foswiki will work without Javascript enabled in the browser:
  • When performing read-only actions, Eg. view, rdiff
  • If {Validation}{Method} is set to anything other than strikeone in configure, write/update actions such as edit and save will work also

User experience is significantly improved if it is enabled.

Foswiki Javascript support includes a number of base Javascript files, attached to this topic, that provide support for features in the basic screens, and are used by most skins. These files are automatically included as required by skins.

These files are gradually being phased out in favour of JQueryPlugin which uses the industry-standard JQuery framework to provide high quality user interface components.

You can use Javascript in the body of topics, but it is highly recommended to use the %ADDTOZONE{"script" ...}% macro if you do so. Bear in mind that inline Javascript represents a significant security risk to Foswiki sites, and sites vulnerable to hackers should seriously consider installing the Foswiki:Extensions.SafeWikiPlugin to control it.

Related Topics: SkinTemplates, Skins, ADDTOZONE
Kontakt
Pädagogische Hochschule Schwyz
Zaystrasse 42
CH-6410 Goldau
T +41 41 859 05 90
info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
This page was cached on 31 Jan 2025 - 13:06.
This website is using cookies. More info. That's Fine