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
html($this->data'Comment_blog']'content'] , array('remove' => true)); $this->data'Comment_blog']'name'] = Sanitize::html($this->data'Comment_blog']'name'] , array('remove' => true)); $this->data'Comment_blog']'email'] = Sanitize
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', 'Session', 'Date'); public $components = array('RequestHandler'); /** public $cacheAction= array( 'index'=>'2 DAY', 'show'=>'2 DAY' ); **/ public $uses = array('Post'); function menu(){ $posts = $this->Post->find('all',array( 'conditions' => array
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
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
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 $pageTitle $stylesBundle $viewStyle $viewHead $viewContent $viewFooter $scriptsBundle $localScript HTML; ?> ``` Et voici le code qui appèle le précédent ```
Html->css('bootstrap'); ?> body { padding-top: 60px; padding-bottom: 40px; } Project name Home About Contact Dropdown Action Another action Something else here Nav header Separated link One more separated
html = ""; $url = "LIEN RSS"; $xml = simplexml_load_file($url); for($i = 0; $i < 1; $i++){ $description = $xml->channel->item[$i]->description; $pubDate = $xml->channel->item[$i]->pubDate; $html .= "$description"; $html