Problemes sur le tuto cakephp Jour 4

Html->link("Editer",array('action'=>'edit',$v'id'])); ?> -

1
function repeter 2 fois

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

0
Besoin d'explication sur la mise en forme des data pour requête ajax

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

1
Upload Drag & Drop : problème avec le multi files

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

0
site "one page" problème avec mon slider

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

4
Récupérer le véritable lien

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

11
Integration de bootstrap dans cakephp

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; }

3
Masonry

Html->link(' '.$this->Html->image($project'Portfolio']'image'], array('alt' => 'project')), '#'.$project'Portfolio']'id'], array('class' => 'thumb', 'escapeTitle' => false));?>

4
.DataTransfer stocker une image en ajax et la traiter en php

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

3