jquery - Links don't fire after partialview update with ajax/query -


i have table renders bunch of div , need edit 1 of divs. use partialview update , inject output partialview original div. works fine except.. after inject, none of links in partial view work. ones either side (above , below) work fine, update one.

i've used chrome/inspect div (dvthisresponse) , it's ok. links (hrefs) in never ever fire again.

$(".saveresponseedit").click(function (e) {     e.preventdefault();     ...     $.ajax({         url: '/spaces/saveresponse',         data: formdata,         enctype: 'multipart/form-data',         type: 'post',         cache: false,         contenttype: false,         processdata: false,         success: function (response) {                                  $('#dvthisresponse' + @model.id).html('');             $('#dvthisresponse' + @model.id).html(response);         },         error: function (req, status, err) {             $("div#spinner").fadeout("fast");             $('#modalerror .modal-body p').html(err);             $('#modalerror').find('.modal').modal({                 show: true             });         }     });      //return false;  }); 

any ideas? pulling hair out on one.


Comments