X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=static%2Foutilspage.js;h=b0b3a1d81b4eeab31fdf62519882f33330f2e646;hb=HEAD;hp=72a9b91150ebd94a9c53bca9639687576b5348ea;hpb=aecb943b704794582bc8fa9304f6dd3cbe34ea7c;p=perso%2FDenise%2Foms.git diff --git a/static/outilspage.js b/static/outilspage.js index 72a9b91..b0b3a1d 100644 --- a/static/outilspage.js +++ b/static/outilspage.js @@ -44,11 +44,23 @@ function ajoutelignes() } -// Affichage de la textarea "export" +// Affichage de la section "export" function affiche_export() { document.getElementById("export").style.display = "block" ; - +} +// Copier vers le presse-papiers +function copietexte() +{ + var elt = document.getElementById("export_texte"); + + /* Select the text field */ + elt.select(); + elt.setSelectionRange(0, 99999); /* For mobile devices */ + + /* Copy the text inside the text field */ + document.execCommand("copy"); + } function affiche_cache(id,elemcourant) @@ -193,7 +205,11 @@ function ajoute_reperes() for(var i=nblignes; i Texte associé : Tracer : ' ; + elt.innerHTML = 'Âge : \ + ou date : \ + Texte associé : \ + Tracer : \ + Afficher la date : ' ; eltul.appendChild(elt) ; }