Home > Backend Development > PHP Tutorial > Ajax+php search, display and close problems? _PHP Tutorial

Ajax+php search, display and close problems? _PHP Tutorial

WBOY
Release: 2016-07-13 10:59:37
Original
903 people have browsed it

Ajax+php search, display and close problems?

I used ajax+php to make a simple search similar to google search. When I didn’t enter any letters, the display looked like this, 1.jpg:

When I enter letters, it displays the effect of 2.jpg.

I would like to ask everyone, when I click the mouse elsewhere, the search box that pops up automatically closes. How should I modify it? The code is as follows




          
                                                                                                                    & Lt; td & gt;
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             






http://www.bkjia.com/PHPjc/631897.html

www.bkjia.com

true

TechArticleAjax+php search, display and close problems? I used ajax+php to make a simple search similar to google search. When I did not enter a letter, the display was like this, 1.jpg: When I...
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