Z verze
změnil(a) David Brazda
k 09.01.2021 10:49
Na verzi < 163.1 >
změnil(a) David Brazda
k 09.01.2021 10:41
< >
Popis verze: Smazaný objekt

Přehled

Rozpis

XWiki.JavaScriptExtension[0]
Způsob práce s cache
... ... @@ -1,1 +1,0 @@
1 -long
Kód
... ... @@ -1,22 +1,0 @@
1 -require(['jquery'], function($) {
2 - $(document).ready(function(){
3 - $("#ajaxButton").click(function(e){
4 - e.preventDefault();
5 - // Using the core $.ajax() method
6 - $.ajax({
7 -
8 - // The URL for the request
9 - url: "$xwiki.getURL('TestVelocity.WebHome', 'get', 'xpage=plain&outputSyntax=plain')",
10 -
11 - // The data to send (will be converted to a query string)
12 - data: {
13 - myvalue: $("#ajaxButton").val()
14 - },
15 -
16 - success:function(result){
17 - $("#result").html(result);
18 - }
19 - });//ajax
20 - });//click
21 - });//ready
22 -});//require
Jméno
... ... @@ -1,1 +1,0 @@
1 -test extensiony
Zpracuj obsah
... ... @@ -1,1 +1,0 @@
1 -1
Použij tuto příponu
... ... @@ -1,1 +1,0 @@
1 -currentPage