title: jQuery fn() isn't loading / working?
body: <p>There is one div which changes frequently it's innerHTML by ajax. Once the page loads, jQuery function() works but when innerHTML changes by ajax then some functionality doesn't work. I checked the code using firebug and try to explain it in short.**  </p>
  
  <p>I think DOM loads the js file only when the page loaded first time and if ajax modifies innerHTML then function is not invoked somehow.What you say? what could be solution according to you?
  <strong><em>HTML page</em></strong></p>
  
  <pre><code> &lt;body&gt;
       &lt;div class="_div_change"&gt; dynamically class add by jQuery function()
  
          here contenet is added by ajax functionality
       &lt;/div&gt;
  
       &lt;script type="text/javascript"&gt; 
            $(function(){
              $('._div_change').addClass('.div_class');
                   });
       &lt;/script&gt;
      &lt;/body&gt; 
  
  Loading first time &amp; class is added by fn() |only div innerHTML modified by ajax *** 
                                              |  
      &lt;div class="_div_change div_class"&gt;     | &lt;div class="_div_change"&gt;
         innerHTML elements added successfully|   innerHTML elements altered successfully
      &lt;/div&gt;                                  | &lt;/div&gt;     
  </code></pre>