Twitter bootstrap 引导自定义搜索以搜索Google
我很难让我的搜索工作正常进行。我想让我的搜索文本框搜索谷歌,然后转到谷歌搜索显示。我根本不需要它来搜索我的网站。只需要从我的网站搜索谷歌使用我的搜索框。我不太熟悉使用自定义搜索,所以请告诉我我做错了什么Twitter bootstrap 引导自定义搜索以搜索Google,twitter-bootstrap,google-search,search-box,Twitter Bootstrap,Google Search,Search Box,我很难让我的搜索工作正常进行。我想让我的搜索文本框搜索谷歌,然后转到谷歌搜索显示。我根本不需要它来搜索我的网站。只需要从我的网站搜索谷歌使用我的搜索框。我不太熟悉使用自定义搜索,所以请告诉我我做错了什么 <form class="navbar-form pull-left searchBarFix"> <input type="text" data-provider="https://www.google.com" class="form-control" placeh
<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>
您查看过谷歌搜索API吗 这个API非常健壮,而且听起来它会完全满足您的需求 尽管该解决方案已被弃用,但您可能希望了解谷歌的定制搜索引擎