Bouton injecté par AJAX ne fonctionne pas

HTML $.ajax( url ).done( function( data, text, jqxhr ){ console.log( data ); $('.last-news').html( jqxhr.responseText ); //Je réinjecte le code HTML dans la div }); }); ``` ### Ce que j'obtiens Et bien, la première

4
Vérifier qu'un utilisateur existe (AJAX PHP)

json', success: function(json) { if(json.isSuccess) { $('#success').fadeIn(); $('#contact-form')[0].reset(); } else { $('#identifiant + .comments').html(json.identifiantError); $('#email + .comments').html(json.emailError); $('#pass + .comments').html(json.passError); $('#pass_confirm + .comments').html(json.passError); } } }); }); }) ```

10
[Symfony] exporter données formulaire à dompdf

html = $this->renderView('admin/besoins/epicerie/exportPdf.html.twig', [ 'besoins' => $formValue, ]); $html .= ' '; $html .= ' '; $name = 'test'; $options = new Options(); $options->set('isHtml5ParserEnabled', true); $options->set('isRemoteEnabled', true); $dompdf = new Dompdf($options); $dompdf->loadHtml($html); // (Optional) Setup

0
Problème avec API History

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

0
Laravel 5 - Problème entre blade et illuminate

html j'ai ceci : ```html Login <form method="POST" action="http://local.dev/monsite/public/login" accept-charset="UTF-8"><input name="_token" type

2
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
Ajax dans Ajax

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

4
Upload d'image CMS jour2

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

1