Skip navigation

SL wiki server javascript

633 Views 2 Replies Latest reply: Nov 18, 2013 9:22 AM by capitanu RSS
AdamKasprzak Calculating status...
Currently Being Moderated
Apr 1, 2012 7:03 AM



I have a small page+javascript which I want to implement to wiki page. I have elliminated problem with html tags filtering (whitelist.plist) with disabling filtering at all. Now I face another problem. Script is not working. I have read manual which says that I should implement java as a file in template folder, but I don't really get it. Could sb explain. I would appreciate any help!


Script looks like this:



<input onclick="clickCh(this)" type="checkbox" name="one" value="10"> $10.00<br>

<input onclick="clickCh(this)" type="checkbox" name="two" value="12"> $12.00<br>


<input id="total" type="text" name="total">



<script language="JavaScript" type="text/javascript">

var total = document.getElementById("total")

function clickCh(caller){



} else {




function add(caller){     total.value = total.value*1 + caller.value*1}

function subtract(caller){     total.value = total.value*1 - caller.value*1}




Mac mini, Mac OS X (10.6), Mac OSX Server Snow Leopard
  • capitanu Calculating status...
    Currently Being Moderated
    Nov 18, 2013 9:22 AM (in response to AdamKasprzak)

    and moving on to Mavericks, where there are no more themes, any way to run a script?


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.