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
Problème Sanitize

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

1
Configurer le server side rendering ReactJs

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(/

1
Réécriture de l'url pose probème

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

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
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
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
Parse error: syntax error, unexpected end of file
GBe,

HTML $pageTitle $stylesBundle $viewStyle $viewHead $viewContent $viewFooter $scriptsBundle $localScript HTML; ?> ``` Et voici le code qui appèle le précédent ```

7
Problème avec setFlash

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

1
Récupéré et afficher une images d'un flux RSS

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

3