title: jquery onchange not work after a first call ajax
body: <p>i try to pass from a frame to a div
  after a first call ajax jquery on change not work
  then in frame it's working</p>
  
  <p>i load a first time my page when click on the menu.
  i select a personnage 
  the refresh is ok</p>
  
  <p>but after when i try to modif XPS the event onchange not work</p>
  
  <pre><code>&lt;script type="text/javascript" src="{$URL_BASE}js/prototype.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;var URL_BASE='{$URL_BASE}'&lt;/script&gt;
  &lt;script type="text/javascript" src="{$URL_BASE}js/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="{$URL_BASE}page.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="{$URL_BASE}menu_mj.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="frame-menu"&gt;
   &lt;a href="#" onclick="return menu_displaycentre('frame-centre','{$URL_BASE}page.php');
    ma page
   &lt;/a&gt;
  &lt;/div&gt;
  &lt;div id="frame-centre"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>extract page</p>
  
  <pre><code>    &lt;script type="text/javascript" src="{$URL_BASE}js/prototype.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="{$URL_BASE}js/jquery-1.9.1.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="page.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form method="post" id="recherche" name="recherche" action=""&gt;
     &lt;input type="hidden" name="ACT" value="rech_perso" /&gt;
     RECHERCHE D'UN COMPTE&lt;br /&gt;
     Id,Login, email, ip ou nom de personnage : (2 lettres min)&lt;br /&gt;
     &lt;input type="text" name="query" size="30" /&gt;
     &lt;input type="submit" value="RECHERCHER" onclick="PJ_Recherche()" /&gt;
  &lt;/form&gt;
   &lt;input type="text" size="10" name="XPS" value="{$PJ.XPS}" id="XPS"/&gt;
  </code></pre>
  
  <p>perso.js</p>
  
  <pre><code>    $.noConflict();
  jQuery(document).ready(function($) {
  $(document).ready(function () {
  $("#XPS").change(function () {
  //$('#XPS').live('onchange',function () {
    alert('titi');
     var champsid = ($(this).attr('id'))
     var champsvaleur = $('input[id=XPS]').val()
     var idpj = ($("#idpj").val());
     $.ajax({
     type: "POST",
     url: "updatebdd.php",
     data: 'id='+idpj+'&amp;champ='+champsid+'&amp;value='+ champsvaleur,
     cache: false,
     success: function(html) { // If is everything ok
     }
     });
     });
     });
  });
  // Code that uses other library's $ can follow here.
  function PJ_Recherche() {
     var url=URL_BASE+'persos.php';
     new Ajax.Updater(
        'frame-centre', 
          url,
          {
          method : 'post', 
          parameters: Form.serialize('recherche')
          }
      );
  parent.document.getElementById('frame-centre').innerHTML ='Please Wait...';
  return false;
  }
  </code></pre>
  
  <p>...</p>
  
  <p>i block on this from 3 days some have the answer?</p>