I have the following code:
我有以下代码:
function doDialogAjax(link: Link. modal: Modal) {
$.ajax( link.Url,
{
cache: false,
dataType: 'html'
})
.done(onDialogDone)
.fail(onDialogFail);
}
function onDialogDone(data: any, textStatus: string, jqXHR: JQueryXHR) {
var x = data;
// I need to access link.abc and modal.def properties here
}
function