From dd99c15dfbb35652db57331c2db6b07088da2f3f Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Mon, 20 Apr 2020 11:02:13 +0200 Subject: ajout filtrage AJAX --- www/html/filtre.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 www/html/filtre.js (limited to 'www/html/filtre.js') diff --git a/www/html/filtre.js b/www/html/filtre.js new file mode 100644 index 0000000..b523360 --- /dev/null +++ b/www/html/filtre.js @@ -0,0 +1,17 @@ +function cherche(){ + + var condition = document.getElementById("condition"); + var url = "affiche-tab.py?condition=" + condition.value; + + var req = new XMLHttpRequest(); + req.open("GET", url, true); + + req.onreadystatechange = function(){ + if(req.readyState == 4 && req.status == 200) { + var tab=document.getElementById("tab"); + tab.innerHTML = req.responseText; + } + } + + req.send(); +} -- cgit v1.2.3 aboutsummaryrefslogtreecommitdiffstats
path: root/playlists (unfollow)
Commit message (Expand)AuthorFilesLines
2020-12-29Exception handling added to PC and ACClyhtsuriva1-2/+10
2020-12-29report updateClyhtsuriva3-8/+8
2020-12-29cleaningClyhtsuriva1-0/+0
2020-12-29report updateClyhtsuriva4-62/+120
2020-12-29report updateClyhtsuriva3-4/+13
2020-12-29toString global updateClyhtsuriva25-46/+46
2020-12-29Creating the diagram and finishing the report.Clyhtsuriva13-188/+43565
2020-12-28Finishing javadocClyhtsuriva28-184/+858
2020-12-28Starting javadocClyhtsuriva32-19/+6481
2020-12-28Update REAME.mdClyhtsuriva2-8/+6
2020-12-28Method to show audiobooks sorted by authorClyhtsuriva1-2/+28
2020-12-28Added method to display albums sorted by genreClyhtsuriva2-5/+33
2020-12-28Print album sorted by date methodClyhtsuriva1-4/+28
2020-12-28Display content of an albumClyhtsuriva2-2/+25
2020-12-28Repairing playlistClyhtsuriva7-13/+72
2020-12-25Beginning the reportClyhtsuriva2-0/+67
2020-12-25comment on PlaylistClyhtsuriva1-1/+1
2020-12-24Playlist : sort by name and delete optionClyhtsuriva6-40/+128
2020-12-24Finishing album and starting playlistsClyhtsuriva3-16/+102
2020-12-23Implementing AlbumClyhtsuriva3-17/+155
2020-12-22SimplifyingClyhtsuriva2-129/+81
2020-12-19Adding AudioBooksClyhtsuriva7-48/+225
2020-12-11(De)Serialization of the songsClyhtsuriva2-42/+63
2020-12-11Getting serialization working with a songClyhtsuriva3-7/+36
2020-12-11adding Serialization interface and methodsClyhtsuriva6-59/+63
2020-12-07Big updateMasfehico6-16/+99
2020-12-07cleaning and adding stuff in playlistMasfehico3-2/+20
2020-12-07Updating song and audiobook accordingly to the last commitMasfehico2-8/+8
2020-12-07Adding the enum classesMasfehico3-0/+9
2020-12-07Updating song, audiobook and musical elements's sets and getsMasfehico3-5/+23
2020-12-07Finishing MusicalElement.javaMasfehico1-6/+11
2020-11-23Cleaning upMasfehico2-30/+0
2020-11-23Deleting the CSVSMasfehico5-3669/+0
2020-11-23Minor testing changesMasfehico7-43/+63
2020-11-23Musical elements updated and jMusicHub basic creationMasfehico2-0/+0
2020-11-23Musical elements updated and jMusicHub basic creationMasfehico4-3/+74
2020-11-21README.md updatedMasfehico1-3/+1
2020-11-19Started Song and MusicalElementMasfehico5-0/+190
2020-11-18Added CSVsMasfehico9-102/+3756
2020-11-18Firs filesMasfehico8-0/+103
2020-11-17LICENSE updatedMasfehico1-68/+81