Html->script('tiny_mce/tiny_mce.js', array('inline' => false)); echo $this->Html->scriptStart(array('inline' => false)); ?> tinyMCE.init({ mode : 'textareas', theme : 'advanced', plugins : 'inlinepopups, image', theme_advanced_buttons1 : 'bold, italic, underline, |, bullist, numlist
html', data: $form.serialize() }).then(function (data) { $("#affiche_mess").html(data); // Mise à jour des messages $.ajax({ url: '/fiche_cli/liste_profil.php', method: 'GET', dataType: 'html', data: $form.serialize() }).then(function (data) { $("#list_profil").html
Html->image($v'url'], array('style' => 'max-width:175px')).' '; echo ' '.$v'name'].' '; echo ' '; foreach($formats as $kk=>$vv): echo $this->Html->link('Image '.$vv."px", array('action' => 'show', $v'id'],$kk)).' '; endforeach
html){ afficher(html); }, error:function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus); } }) return false; }); $("#main-menu a").bind('click',function(){ page=$(this).attr("href"); $("a ").removeClass('active'); $(this).addClass('active'); $.ajax({ url: "contenu
html>body #menu li{ border-right: 1px solid transparent; } #menu li ul{ position: absolute; width: 144px; left: -999em; } #menu li ul li{ border-top: 1px solid #fff; } html>body
html(' '); $('#select_prix').html(''); $.ajax({ url: varGlobaleRacine + 'Lignecommandes/getPrix/' + idProduit, type: 'GET', dataType: 'JSON', success: function (response) { prix_s = response.prix_s; if(prix_s.length == 0){ $('#prix_id').html(' Aucun produit pour le moment
HTML {$label} {$this->getErrorFeedback($key)} HTML; } ``` Actuellement je récupère bien dans ma base de donnée la valeur 1 ou 0 selon la checkbox coché. Mais je n'arrive pas a récupérer
html : ``` Elementary Table of Types Cards Generator ``` En utilisant une fonction isActive(); Suis - je obligé pour chaque .js associé à son html de redéclarer isActive () ? J'ai essayé de le déclarer
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
html(); $(".oneBox").html(cloneText); $("#full").hide(); }); }); ``` Tout se passe bien : la page complète ce cache et le contenu du panel s'affiche correctement là dedans (la colonne vide sert uniquement