How can I get sender tag on OnBegin function?
I have a list that each row has a link created by Ajax.ActionLink. I want
to access to tag which clicked on OnBegin function and convert it to
jqeury object.
Thanks :)
Update
this is my action code that creates a link:
@Ajax.ActionLink("linkText", "action", new AjaxOptions()
{
OnBegin = "myfunction",
})
this is the javascript function:
<script type="text/javascript">
function myfunction() {
//I need refer to link that clicked
}
</script>
No comments:
Post a Comment