Home > Web Front-end > JS Tutorial > JS method to realize simultaneous search of Baidu and Bing_javascript skills

JS method to realize simultaneous search of Baidu and Bing_javascript skills

WBOY
Release: 2016-05-16 16:17:39
Original
1397 people have browsed it

The example in this article describes the method of using JS to search Baidu and Bing at the same time. Share it with everyone for your reference. The details are as follows:

The function of searching Baidu and Bing at the same time is implemented here. Enter keywords and click the "Search" button. The results of the two search engines will be opened on the same page, which is convenient.

Save the following two htm files in the same folder and open the first file.
Code of index.htm:

Copy code The code is as follows:




Search Baidu and Bing simultaneously











The second file name is keleyi.htm

The code of keleyi.htm is as follows:

Copy code The code is as follows:




Search Baidu and Bing simultaneously











I hope this article will be helpful to everyone’s JavaScript programming design.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template