Changes for page Ajax
Last modified by Jean-Vincent Drean on 2011/02/25 14:37
From version 1.4
edited by Jean-Vincent Drean
on 2011/02/25 14:37
on 2011/02/25 14:37
Change comment:
There is no comment for this version
To version 1.2
edited by Jean-Vincent Drean
on 2011/02/25 15:37
on 2011/02/25 15:37
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,11 +1,11 @@ 1 1 {{html clean="false"}} 2 2 <div id="box"> 3 3 Box content 4 -<input type="button" id="updateButton" value="update"/>4 +<input type="button" id="updateButton"/> 5 5 </div> 6 6 7 7 <script type="text/javascript"> 8 -$( 'updateButton').observe('click', function(event) {8 +$(updateButton).observe('click', function(event) { 9 9 new Ajax.Updater('box', '/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/XWikiPreferences/objects/XWiki.XWikiPreferences/0/properties/colorTheme', { 10 10 method: 'get', 11 11 insertion: Insertion.Top