I\'m using the Ajax.ActionLink helper to generate a link to delete a record. This is the code:
Ajax.ActionLink(\"Delete Image\", \"DeleteImage\", new { id =
OnSuccess = "Test()"
you have to write it like this it is a callback...
OnSuccess = "Test"