68
rated 0 times
[
74]
[
6]
/ answers: 1 / hits: 25970
/ 7 Years ago, wed, november 15, 2017, 12:00:00
In my webapplication I am trying to add home button in all the sub pages which on clicking will trigger ActionResult Index()
Any suggestions?
I have simply added a button in my Sub page DetailsForm. Which is next to the submit button. After user is done saving user can click on home button to directly got to the Index.cshtml. Avoiding any Browser back button.
Below code definitely doesn't work for me!
<input type=button class=btn btn-lg btn-success onclick=location.href='index.cshtml'; value=Home />
More From » jquery