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
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 $pageTitle $stylesBundle $viewStyle $viewHead $viewContent $viewFooter $scriptsBundle $localScript HTML; ?> ``` Et voici le code qui appèle le précédent ```
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
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->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
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 = renderToString(); const preloadedState = store.getState() res.send(renderFullHtml(html, preloadedState)); }) console.log("=== SERVER STARTED ===") app.listen(8080) function renderFullHtml (html, preloadedState) { return ` Ma page ${html} window.__PRELOADED_STATE__ = ${JSON.stringify(preloadedState).replace(/
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
HTML $message.= "Content-Type: text/html; charset=\"ISO-8859-1\"".$passage_ligne; $message.= "Content-Transfer-Encoding: 8bit".$passage_ligne; $message.= $passage_ligne.$message_html.$passage_ligne; //========== $message.= $passage_ligne."--".$boundary."--".$passage