Call Javascript Function from @html.actionlink (VB)

How do I call a javascript function through an html.actionlink?  I'm trying to get a modal dialog to pop-up after "Create PO" is clicked....

<ul id="submenu">
    <li><a>Submenu |</a></li>
    <li>@Html.ActionLink("Create PO |", "Index", "Purchasing")</li>    
    <li>@Html.ActionLink("Email PO |", "About", "Home")</li>
    <li>@Html.ActionLink("Issue PO |", "About", "Home")</li>
Who is Participating?
Check this

<%= Html.ActionLink(item.TemplateName, "Edit", new { id = item.ID }, new { onlick = "DoSomeWork();" }) %>
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.