html(' +1€ / clic '); } else { $("#upgrades").html(''); } $("#upgrade1").click(function(){ cbPerClick = cbPerClick + 1; monnaie = monnaie - coutUpgrade; coutUpgrade = coutUpgrade * 5; showMonnaie(); showCps(); $("#upgrades").html(); console.log(coutUpgrade) }); }); // fin clickhere click ``` Genre... **POURQUOI** ? J'ai beau
html, et certains contiennent des vidéos youtube ou dailymotion sous forme d'embed. J'utilise donc l'attribut ng-bind-html="article.content" pour récupérer le contenu de l'article, mais
HTML, CSS et JS et j'essaye de coder une petite carte interactive des stations de ski autour de Grenoble. Pour ça j'ai créé mes zones ou je souhaite
html) && (content_html != ''))bdy.innerHTML = content_html; content.appendChild(bdy); ftr.className ='modal-footer'; ftr.innerHTML = footer; content.appendChild(ftr); $('body').append(modal); create_button("button", "Envoyer", "modalClick", "#modalHere", "modalClick", true, "#envoyerInformations");//mettre display none
success: function(html) { $('#commande_contratMetier').replaceWith( $(html).find('#commande_contratMetier') ); $('#commande_sousProjet').replaceWith( $(html).find('#commande_sousProjet') ); $('#commande_compteComptable').replaceWith( $(html).find('#commande_compteComptable') ); } }); }); ``` Merci d'avance pour votre aide :) !
Html->script('tiny_mce/tiny_mce.js',array('inline'=>false));?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins: 'inlinepopups', theme_advanced_buttons1:'image', theme_advanced_buttons2:'', theme_advanced
data){ if(data == 'success'){ $("#resultat").html(" La page a bien été enregistrée "); } else{ $("#resultat").html(" Erreur lors de l'enregistrement "); } }, 'text' ); return false; }); }); Merci de votre aide !
html->link('Ajouter un utilisateur',array('controller'=>'users', 'action'=>'edit')); ?>
html->link($html->image('/img/fre.png', array('alt'=>'Français','title'=>'Français')), array('language'=>'fre')+$this->params'pass'], array('escape'=>false));?>
Html->link( 'Ajouter un Article', array('controller' => 'contenuarticles', 'action' => 'add') ); ?> Id Title Action Created