102
rated 0 times
[
104]
[
2]
/ answers: 1 / hits: 21449
/ 12 Years ago, tue, october 30, 2012, 12:00:00
I have the following:
$.ajax(link.href,
{
cache: false,
dataType: 'html'
})
.done(onDialogDone)
.fail(onDialogFail);
This works fine and onDialogDone is called. However what arguments should I expect to see supplied to the onDialogDone and what should I expect to see for onDialogFail.
The reason I am asking is because I use typescript and I want to supply the correct arguments when I define my onDialogDone and onDialogFail.
More From » ajax