onload or/and onunload property of the <body> for a single topic? I would like to execute some JavaScript to initialize/save HTML form fields values.
Something like %HTMLBODY{onload="myjavascript" onunload="myotherjavascript"}% would be just great.
-- StephaneLenclud - 15 Sep 2006
If you are interested in JavaScript integration with TWiki also have a look at TreeBrowserPlugin.
-- StephaneLenclud - 15 Sep 2006
Don't use onload directly - it will be overwritten - use addLoadEvent from twiki.js, as described on SkinsAndJavaScript.
-- ArthurClemens - 15 Sep 2006