Image à la une dans le flux RSS

Html->image(sprintf($post'thumbf'],800,200)) endif . " " . $post'intro']; echo $this->Rss->item(array(), array( 'title' => $post'name'], 'link' => $this->Html->url($post'link'], true), 'guid' => array('url' => $this

1
Edition formulaire cakephp, angularjs 1.6

Html->link(" " . __('Mes campagnes'),['controller' =>'Contacts','action' => 'newCampagne','plugin'=>'Admin'],['class' =>'btn btn-system','escape'=>false]);?>

1
Upload Ajax

html(); var progress = ' '; form.html(form+progress); }; function sucessful(data){ donnee = parseJSON(data); if(donnee.status == 'erreur'){ alert(donnee.texte); }else{ $('#form').hide(); var form2 = $('#form2').html(); var content = ' '; $('#form2').html(content+form2

1
XMLHttpRequest cannot load file

html , je voulais donc récupérer les informations du xml en jquery pour les affichers dans mon html , mon code me parraît bon mais j'obtiens l'erreur suivante : XMLHttpRequest cannot

1
Requête Mysql avec express et twig

html app.engine('html', swig.renderFile); // utiliser le moteur de template pour les .html app.set('view engine', 'html'); // dossier des vues app.set('views', path.join(__dirname, 'views')); // view cache app.set('view cache', false

1
ChoiceList généré par deux sélection

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 :) !

0
Fonctionne dans un onclick mais pas ailleurs

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

6
Affichage Modal

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

6
Problème avec API History

html){ afficher(html); history.pushState({key : i}, 'titre', url); }, error: function(XMLHttpRequest,textStatus,errorThrown){ alert(textStatus); } }); }; window.onpopstate = function(event){ var urlcourant = document.location.pathname; alert(event.state); if(event.state == null){ $.ajax({ url : '/intranet/refonte/index.php', cache

0
Uncaught ReferenceError: onScroll is not defined

html, body').stop().animate({ 'scrollTop': $target.offset().top+2 }, 500, 'swing', function () { window.location.hash = target; $(document).on("scroll", onScroll); }); }); }); })(jQuery); ``` Code sur ma page html qui fonctionne bien: Code : ``` $(document).ready(function

0