I'm trying to make a Chrome browser extension that lets you search my site. The search box on the site works. But when I add that same HTML code into my extension file, it doesn't work. Here is the code for my search box:
<form class="text-center" id="searchGuides" action="https://www.arcanumgaming.com/game" method="GET">
<input type="hidden" name="a" value="search" />
<input type="hidden" name="g" value="grand-theft-auto-v" />
<div >
<input type="text" name="searchVal" class="searchField" placeholder="Search Game Content" />
</div>
<div >
<a href="#" class="searchBtn" onclick="document.getElementById('searchGuides').submit();">Search Content</a>
</div>
</form>