Utente:Andyrom75/Sandbox
Aspetto
Ancora:
Codice JS da usare:
data= {format: 'json', action: 'query', prop: 'revisions', rvlimit: '1'}; $.ajax({ url: 'https://it.wiktionary.org//w/api.php?action=query&list=categorymembers&format=json&cmtitle=categoria%3ALingue&cmnamespace=14&cmtype=subcat&cmlimit=500', async:false, data:data, dataType: 'jsonp' }).done(function (data) { i=0 $.each( data.query.categorymembers, function() { $("#campo-test").append("<a href='../"+data.query.categorymembers[i].title+"'>"+data.query.categorymembers[i].title+"</a><br>"); i++; }); });