Hi all,
I have some javascript code that does the following
link.NavigateUrl = string.Format("javascript:MyFunction({0}, {1});", ID1, ID2);So when the link is click MyFunction will be called and the dynamic parameters will be passed in.
How can I pass in these params using JQery like:
$(function(){ $('#MyLinksID').click(function(){ console.log('Want to have access the two params here');
});
So how can I access the params from within my click event?