html = new simple_html_dom(); $html->load_file($lien2); $csv = []; $tr = $html->find('#btable', 0); foreach ($tr->find('tr') as $item) { $td = $item->find("td"); $temp = []; for ($i = 0; $i < sizeof
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){ 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, components}) { return html` ${components.Highlight({attribute: 'name', hit})} ${components.Highlight({attribute: 'fonction', hit})} `; }, empty(results, {html}) { return html`Aucun résultat pour ${results.query} `; }, }, }), ]) search.start() ``` **Mon erreur de la console** app.a0c25223.js:25 MeiliSearchCommunicationError: Not Found
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->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); history.pushState({key:'value'}, 'titre', page); }, error:function(XMLHttpRequest,textStatus, errorThrown){ afficher("erreur lors du chagement de la page"); } }) return false; }); window.onpopstate = function(event){ //lancer des qu'il y a back
html->link('Ajouter un utilisateur',array('controller'=>'users', 'action'=>'edit')); ?>
html){ $("#supOrder").html(html); } }); }); ``` Si dessus la fonction JS qui détecte le clic d'un bouton. ``` $this->data['balance'] .= ' '; $this->data['balance'] .= ' '; ``` Et le code PHP qui crée le bouton