Dynamic loaded page doesn't re-bind the JS code
<p>I have that scenario. I load dynamically the <code>Page A</code> which contains some JS code. Inside that page, I can dynamically load another Page B (which can be also dynamically removed by using <code>fadeOut</code> effect and <code>.remove()</code> function)</p>

<p>The Page B contains a jQUery's UI <code>datepicker</code> plugin (and also some other plugins).</p>

<p>And here's the thing: if I load the <code>Page B</code>, the <code>datepicker</code> is initialized properly, but if I remove that <code>Page B</code> and re-load it, that <code>datepicker</code> is not being initialized. Why ?</p>

<p>I'm using the <code>.datepicker("destroy")</code> function and then <code>.datepicker({...})</code> inside the <code>Page B</code> but without any effect.</p>
