I won’t say much nonsense, just put the content on it.
<form action="/home/search" method="get" > <div class="searchBox png" > <input type="text" class="searchTxt" name="shopName" value="@shopName"> <a class="searchPic h-submitBtn png" onclick="document:search_form.submit();"> </a> </div> </form>
There are several ways to write:
1.
<a class="searchPic h-submitBtn png" onclick="document:search_form.submit();">Submit</a>
2.
<a href="javascript:document:search_form.submit();">Submit</a>
3.
<a class="searchPic h-submitBtn png" onclick="('search_form').submit();">Submit</a>
The above are a few methods summarized for you. I hope it will be helpful to everyone to learn js.