---+ 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 [[%SCRIPTURLPATH{"configure"}%][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 [[VarADDTOZONE][%<nop>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]], [[VarADDTOZONE][ADDTOZONE]] <!-- * Set ALLOWTOPICCHANGE = %USERSWEB%.AdminGroup -->
This topic: System
>
WebHome
>
ReferenceManual
>
DeveloperDocumentationCategory
>
JavascriptFiles
Topic revision: revision 1 (raw view)
Copyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki?
Send feedback