meenakshi luthra

meenakshi luthra

  • NA
  • 48
  • 4.6k

Not able to click on <img> Tag

Feb 12 2018 11:06 PM
Hi,
 
I have following view code in MVC core
 
<div id="FooterBG" style="margin-top:-5%;height:9%">
<a href="@Url.Action("CreatorIndex","Creator")" onclick="location.href='@Url.Action("CreatorIndex","Creator")'"><img src="~/images/BackfooterImg.png" height="200" width="200" class="img-responsive pull-right" /></a>
</div>
 
where I have creator controller and creatorindex is an action method. I am not able to click on image to go back (CreatorIndex View).
Please help 

Answers (2)