html(`${pv} PV`) $('#bar').val(pv) // document.getElementById('animal').style.marginTop = "2%"; // setTimeout(() => { // document.getElementById('animal').style.marginTop = "1%"; // var audio = new Audio('pig.wav'); //audio.play(); // }, 50); }else if (data.giftName == 'TikTok'){ pv--; $('#pv').html(`${pv} PV`) $('#bar').val(pv) // document.getElementById
html(data); } }); //ceci envoie un tableau vide au serveur //categories = {sciences:"sciences", international:"0", culture:"0"} $.ajax({ type: "POST", url: "index", data: categories, success: function(data,textstatus,jqXHR){ $('#content').html
html('100%'); $('#'+id_tmp).remove(); $("#boxDragDrop").removeClass('hover'); } }); // On prépare la barre de progression au démarrage var id_tmp=file.size; // On ajoute notre fichier à la liste $('#listing').append(' 0% '); } } } console.log
html, body {margin: 0;padding: 0;border: 0;font-size: 100%;} ul {list-style: none;} a {text-decoration: none;} /* FIN RESET */ html, body { height: 100%; width: 100%; } body {font-family
HTML */ Lien 1 Lien 2 ``` Pour le lien 1 tous fonctionne bien, mais lorsque le lien contient d'autres éléments HTML (img, i, span etc.) le target me renvoie l'un des éléments
Html->meta('icon'); echo $this->Html->css( array( //'bootstrap.min', 'bootstrap' //, //'docs' //, //'font-awesome' //, //'style' //, //'cake.generic', //'signin' ) ); echo $this->Html->script( array( 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js', 'bootstrap.min', ), array('block' => 'scriptBottom') ); ?> body { padding-top: 40px; padding-bottom: 40px; background-color: #f5f5f5; } .form-signin { max-width: 300px; padding: 19px 29px 29px; margin: 0 auto 20px; background-color: #fff; border: 1px solid #e5e5e5; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05); box-shadow: 0 1px 2px rgba(0,0,0,.05); } .form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; } .form-signin input[type="text"], .form-signin input[type="password"] { font-size: 16px; height: auto; margin-bottom: 15px; padding: 7px 9px; }
Html->link(' '.$this->Html->image($project'Portfolio']'image'], array('alt' => 'project')), '#'.$project'Portfolio']'id'], array('class' => 'thumb', 'escapeTitle' => false));?>
html(data); } }) }) }); ``` **Ce que je veux** Bonsoir j'aimerai stocker une image deposer en drag and drop dans une balise html type span et de l'envoyer sur ma page