Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/EmptyTag/156.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 引导自定义搜索以搜索Google_Twitter Bootstrap_Google Search_Search Box - Fatal编程技术网

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非常健壮,而且听起来它会完全满足您的需求

尽管该解决方案已被弃用,但您可能希望了解谷歌的定制搜索引擎