我在尝试让我的搜索工作时遇到了麻烦。我只想让我的搜索文本框搜索 google,然后转到 google 搜索显示。我根本不需要它来搜索我的网站。只需要使用我的搜索框从我的网站搜索 google。我对使用自定义搜索不是很熟悉,所以请告诉我我做错了什么。
<form class="navbar-form pull-left searchBarFix">
<input type="text" data-provider="https://www.google.com" class="form-control" placeholder="Search Our Games..." autocomplete="on" id="searchInput">
<button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
</form>