Javascript calendar not working inside the update panel
<p>I have a javascript calendar in my web page. This calender is inside a update panel. When I click for the calendar, it is not working:</p>

<pre><code>&lt;asp:UpdatePanel ID="UpdatePanel18" runat="server" &gt;
    &lt;ContentTemplate&gt;   
        &lt;cc1:ModalPopupExtender ID="mpeCreate234" runat="server" 
            PopupControlID="Pnl_mpeCreate" TargetControlID="lnkConf2" 
            BackgroundCssClass="modalBg"&gt;
        &lt;/cc1:ModalPopupExtender&gt;
        &lt;asp:Panel ID="Pnl_mpeCreate" runat="server" Width="950px" 
            ScrollBars="Auto"  Height="600px" BackColor="#d3d3d3"&gt;
            &lt;table&gt;&lt;tr&gt;
                &lt;td style="text-align:right; padding-right:10px"&gt;
                    &lt;b&gt;Email Alert Start Date &lt;/b&gt;&lt;/td&gt;
                &lt;td style="text-align:left; padding-left:10px; width:60%"&gt;

                    &lt;asp:TextBox ID="txt_emailAlertDate" runat="server" 
                        Width="150px" onfocus="this.blur()"&gt;&lt;/asp:TextBox&gt;
                    &lt;asp:Image ID="Image3" runat="server" 
                        ImageUrl="~/Calender/cal.gif" /&gt;

                    &lt;script type="text/javascript"&gt;
                        new Calendar({
                            inputField: '&lt;%= txt_emailAlertDate.ClientID %&gt;',
                            dateFormat: "%d/%m/%Y",
                            trigger: '&lt;%= Image3.ClientID %&gt;',
                            bottomBar: true,
                            onSelect: function() {
                                this.hide();
                            }
                        });
                    &lt;/script&gt;--%&gt;
                &lt;/td&gt;
            &lt;/tr&gt;&lt;/table&gt;
        &lt;/asp:Panel&gt;
    &lt;/ContentTemplate&gt;
&lt;/asp:UpdatePanel&gt;
</code></pre>
