I am very new in angular and developed a simple phone control which is used 
in another control "address" when i click ADD phone it is open(phone 
control) in popup and when hit save this save the data into db but when i 
refresh the parent address via html my phone control stopped for next time 
please help me.
    
`    ShowPopupAddLocations() {     
     $('#dividEditLocation').show();     
     return false;
     }
function SaveLocation() 
 {
       SavePhoneDetails();
    $.ajax({
        type: 'POST',
        dataType: "json",
        url: "/Location/LocationAdd",
        data: $('#AddressAddId').serialize(),
        success: function (result) {
           $('#dividEditLocation').hide();
            refreshDiv();
        }
    });
}
function refreshDiv() {
    debugger;
    var URL = "/Location/ContactInformation";
    $.ajax({
        url: URL,
        dataType: "html",
        success: function (data)    
        { debugger;
            $('#test').html(data);
       }
    });
}`

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to