teitaphior
New Member
I have partial view named MyPView contains a javascript function named loadMe(){alert('Done');} and a _layout with a ajax.ActionLink("MyTrouble","Controller","MyPView",new ajaxOption{ OnSuccess="loadMe"}). I want to run loadMe function when the partial loads but, it doesn't.I know that I can put loadMe function in _layout but I dont want to do that, is there any other way to run that function?Thank you all, and specially Youm who answer this.