Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

Here my problem is , ajax calendarExtender not working in Jquery clone , in parent class calendar working fine when i clone it that the text box not displaying the calendar Extender

i dont know what to do ... pls help me

my Javascript code
JavaScript
$(function() {
            $('#Button1').click(function() {
            var hfAnswers = $('#<%=HFeducationdetails.ClientID %>');
            var answers = parseInt(hfAnswers.val()) + 1;
            alert(answers);
                hfAnswers.val(answers);
                $('.sourceEdu:first').clone().attr({ name: "ans_clone_" + answers, id: "ans_clone_" + answers }).appendTo('.designationEdu');
                //$('.sourceEdu:first').clone().attr('id', 'choices_' + $(this).index()).insertAfter('.designationEdu');

            })
        })


My Asp.net Code is

ASP.NET
<asp:TextBox ID="txtfrom3_1" runat="server" class="form-control" placeholder="From"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="txtfrom3_1" Format="dd/MM/yyyy" PopupPosition="TopLeft"></asp:CalendarExtender>


What I have tried:

i tried the chaging the js script but i dont know how to do this nu ...

thank
Posted
Updated 26-Apr-16 22:54pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900