【发布时间】:2015-04-30 14:25:09
【问题描述】:
我在尝试让我的搜索工作时遇到了麻烦。我想让我的搜索文本框搜索谷歌,然后转到谷歌搜索显示。我根本不需要它来搜索我的网站。只需要使用我的搜索框从我的网站搜索 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>
【问题讨论】:
标签: twitter-bootstrap google-search search-box