title: jquery datepicker from partial not working
body: <p>hello i have a datepicker that is working perfectly alone, code is like:</p>
  
  <pre><code> &lt;link rel="stylesheet" href="uidatepicker/themes/blitzer/jquery.ui.all.css"&gt;
      &lt;script src="uidatepicker/jquery-1.5.1.js"&gt;&lt;/script&gt;
      &lt;script src="uidatepicker/jquery.ui.core.js"&gt;&lt;/script&gt;
      &lt;script src="uidatepicker/jquery.ui.widget.js"&gt;&lt;/script&gt;
  
      &lt;script src="uidatepicker/jquery.ui.datepicker.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="uidatepicker/demos.css"&gt;
  
  
      &lt;script&gt;
      $(function() {
          $( "#datepicker" ).datepicker({
              showOn: "both",
              buttonImage: "uidatepicker/calendar.gif",
              buttonImageOnly: true
          });
      });
      &lt;/script&gt;
  
  
  &lt;form method="post" action="saveEvent.php"&gt;
  &lt;p&gt;Titulo del evento:&lt;/p&gt;
  &lt;input type="text" name="title" value=""  class="text-input medium-input datepicker"/&gt;
  &lt;p&gt;Descripcion:&lt;/p&gt;
  &lt;textarea name="message"&gt;&lt;/textarea&gt;
  &lt;p&gt;Fecha:&lt;/p&gt;
  &lt;input type="text" name="date" value="" id="datepicker"/&gt;
  &lt;p&gt;Locacion:&lt;/p&gt;
  &lt;select name="locationId" class="small-input"&gt;
    &lt;option value=""&gt;--- Selecciona ---&lt;/option&gt;
              &lt;option value="3"&gt;La charanguita&lt;/option&gt;
              &lt;option value="7"&gt;H20&lt;/option&gt;
              &lt;option value="8"&gt;Bleu&lt;/option&gt;
        &lt;/select&gt;
  &lt;p&gt;Url del icono: (150x135px)&lt;/p&gt;
  &lt;input type="text" name="smallIconUrl" value=""  class="text-input medium-input"/&gt;
  
  &lt;p&gt;&lt;input type="submit" value="Nuevo Evento" class="button"  /&gt;&lt;/p&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>and i am loading it from another file as in:</p>
  
  <pre><code>    $('#EventsContent').load('partials/newEvent.php');
  </code></pre>
  
  <p>Problem is datepicker never appears no matter what i tried, this has been nailing for me for like 3 days now.</p>
  
  <p>What is the exact problem impeding the correct operation of jquery ui datepicker??+</p>
  
  <p>Thanks in advance for your help.</p>