Answers for "onclick on @html.actionlink"

6

onclick href

onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Posted by: Guest on March-30-2020
0

html button with action link

<input type="button" class="btn btn-info" value="Let's Go!" onclick="location.href='@Url.Action("Action", "Controller")'" />
Posted by: Guest on July-26-2020

Browse Popular Code Answers by Language