I have file with that code
<script language="JavaScript">
function load() { var xmlObj;               
                      if(window.XMLHttpRequest){ 
... ajax function which return result...
 xmlObj.send ('...');}
$(document).ready(function() {
                       $("#desc").click(function() {    
                           $("#contcont").hide();       
                           $("#desccont").fadeIn();
                        });
                       $("#cont").click(function() {    
                           $("#desccont").hide();     
                           $("#contcont").fadeIn();         
                        });
                })
            </script>
And have ajax file show.php/ which returned this code
                              <a id="desc">Desc</a>
                              <a id="cont">Cont</a>
                               <div id="desccont">
                                  desccont
                               </div>
                               <div id="contcont">
                                  contccont
                               </div>
And jQuery not works when i click ids desc and cont. But it works normal when html code into first file
 
     
     
    