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 JQuery Plugin 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: Skin Templates, Skins, ADDTOZONE
Topic attachments
I Attachment Action Size Date Who Comment
foswiki.jsjs foswiki.js manage 18.2 K 18 Nov 2013 - 23:10 Unknown User  
foswikiArray.jsjs foswikiArray.js manage 0.7 K 18 Nov 2013 - 23:10 Unknown User  
foswikiArray.js.gzgz foswikiArray.js.gz manage 0.3 K 18 Nov 2013 - 23:10 Unknown User  
foswikiArray_src.jsjs foswikiArray_src.js manage 2.9 K 18 Nov 2013 - 23:10 Unknown User  
foswikiCSS.jsjs foswikiCSS.js manage 1.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiCSS.js.gzgz foswikiCSS.js.gz manage 0.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikiCSS_src.jsjs foswikiCSS_src.js manage 3.7 K 18 Nov 2013 - 23:10 Unknown User  
foswikiDate.jsjs foswikiDate.js manage 2.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikiDate.js.gzgz foswikiDate.js.gz manage 0.9 K 18 Nov 2013 - 23:10 Unknown User  
foswikiDate_src.jsjs foswikiDate_src.js manage 4.2 K 18 Nov 2013 - 23:10 Unknown User  
foswikiEvent.jsjs foswikiEvent.js manage 0.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikiEvent.js.gzgz foswikiEvent.js.gz manage 0.2 K 18 Nov 2013 - 23:10 Unknown User  
foswikiEvent_src.jsjs foswikiEvent_src.js manage 1.7 K 18 Nov 2013 - 23:10 Unknown User  
foswikiForm.jsjs foswikiForm.js manage 3.0 K 18 Nov 2013 - 23:10 Unknown User  
foswikiForm.js.gzgz foswikiForm.js.gz manage 1.0 K 18 Nov 2013 - 23:10 Unknown User  
foswikiForm_src.jsjs foswikiForm_src.js manage 10.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiHTML.jsjs foswikiHTML.js manage 2.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikiHTML.js.gzgz foswikiHTML.js.gz manage 0.6 K 18 Nov 2013 - 23:10 Unknown User  
foswikiHTML_src.jsjs foswikiHTML_src.js manage 8.0 K 18 Nov 2013 - 23:10 Unknown User  
foswikiPref.jsjs foswikiPref.js manage 3.6 K 18 Nov 2013 - 23:10 Unknown User  
foswikiPref.js.gzgz foswikiPref.js.gz manage 1.0 K 18 Nov 2013 - 23:10 Unknown User  
foswikiPref_src.jsjs foswikiPref_src.js manage 11.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiString.jsjs foswikiString.js manage 3.2 K 18 Nov 2013 - 23:10 Unknown User  
foswikiString.js.gzgz foswikiString.js.gz manage 0.7 K 18 Nov 2013 - 23:10 Unknown User  
foswikiStringUnicodeChars.jsjs foswikiStringUnicodeChars.js manage 9.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikiStringUnicodeChars.js.gzgz foswikiStringUnicodeChars.js.gz manage 3.5 K 18 Nov 2013 - 23:10 Unknown User  
foswikiStringUnicodeChars_src.jsjs foswikiStringUnicodeChars_src.js manage 11.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiString_src.jsjs foswikiString_src.js manage 7.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiStyles.jsjs foswikiStyles.js manage 0.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiStyles.js.gzgz foswikiStyles.js.gz manage 0.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiStyles_src.jsjs foswikiStyles_src.js manage 0.8 K 18 Nov 2013 - 23:10 Unknown User  
foswikiWebTopicCreator.jsjs foswikiWebTopicCreator.js manage 3.8 K 18 Nov 2013 - 23:10 Unknown User  
foswikiWebTopicCreator.js.gzgz foswikiWebTopicCreator.js.gz manage 1.1 K 18 Nov 2013 - 23:10 Unknown User  
foswikiWebTopicCreator_src.jsjs foswikiWebTopicCreator_src.js manage 7.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikiWindow.jsjs foswikiWindow.js manage 1.9 K 18 Nov 2013 - 23:10 Unknown User  
foswikiWindow.js.gzgz foswikiWindow.js.gz manage 0.7 K 18 Nov 2013 - 23:10 Unknown User  
foswikiWindow_src.jsjs foswikiWindow_src.js manage 4.9 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_edit.jsjs foswiki_edit.js manage 2.7 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_edit.js.gzgz foswiki_edit.js.gz manage 0.9 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_edit_src.jsjs foswiki_edit_src.js manage 5.7 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_renamebase.jsjs foswiki_renamebase.js manage 0.2 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_renamebase.js.gzgz foswiki_renamebase.js.gz manage 0.2 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_renamebase_src.jsjs foswiki_renamebase_src.js manage 1.2 K 18 Nov 2013 - 23:10 Unknown User  
foswikilib.jsjs foswikilib.js manage 1.4 K 18 Nov 2013 - 23:10 Unknown User  
foswikilib.js.gzgz foswikilib.js.gz manage 0.6 K 18 Nov 2013 - 23:10 Unknown User  
foswikilib_src.jsjs foswikilib_src.js manage 5.9 K 18 Nov 2013 - 23:10 Unknown User  
strikeone.jsjs strikeone.js manage 4.7 K 18 Nov 2013 - 23:10 Unknown User  
strikeone.js.gzgz strikeone.js.gz manage 1.8 K 18 Nov 2013 - 23:10 Unknown User  
strikeone_src.jsjs strikeone_src.js manage 10.5 K 18 Nov 2013 - 23:10 Unknown User  
Topic revision: r1 - 22 Sep 2010, ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Telem? Send feedback