我想在我的静态网站上添加搜索选项。我试过这段代码,但没有工作。我想从我的网站搜索结果显示。
<form action="https://google.com/search" method="get">
<input type="hidden" name="sitesearch" value="http://emoncmt2.byethost15.com/Digital" />
<input type="text" name="q" />
</form>
发布于 2018-06-26 20:22:56
你错过了提交按钮。 检查这个:
<form action="http://www.google.com/search" method="get">
<input type="text" name="q"/>
<input type="submit" value="search" />
</form>
https://stackoverflow.com/questions/-100005529
复制相似问题