how to make ajax call within another ajax call in asp.net mvc
I used jquery form plugin to upload and it worked fine, for suppose i want to delete the uploaded file again need to make a call to controller and update view again ? in success function of this plugin how can it be done?  
script is as : 

        $(function() {
                $("#uploadForm").ajaxForm({
                    iframe: true,
                    dataType: "xml",
                    url: "Upload/Index",
            success: function(result) {
                        
               ('#MyGrid tbody').append('<tr><td> ' + result.childNodes[0].innerHTML 
    + ' </td><td><a >Delete</a></td></tr>');
                    },

now once i click Delete, it should make ajax call to controller, for this i tried adding onclick for anchor tag ,but it is not hitting since it is like static data. how can that functionality be added?
worth sharing any idea
thanks, michaeld 
how to make ajax call within another ajax call in asp.net mvc
===

I used jquery form plugin to upload and it worked fine, for suppose i want to delete the uploaded file again need to make a call to controller and update view again ? in success function of this plugin how can it be done?  
script is as : 

        $(function() {
                $("#uploadForm").ajaxForm({
                    iframe: true,
                    dataType: "xml",
                    url: "Upload/Index",
            success: function(result) {
                        
               ('#MyGrid tbody').append('<tr><td> ' + result.childNodes[0].innerHTML 
    + ' </td><td><a >Delete</a></td></tr>');
                    },

now once i click Delete, it should make ajax call to controller, for this i tried adding onclick for anchor tag ,but it is not hitting since it is like static data. how can that functionality be added?
worth sharing any idea
thanks, michaeld 