zoukankan      html  css  js  c++  java
  • 前端js模糊搜索(模糊查询)

    1.html结构:

      <label for="searchShop" class="clear pos-a" style="top:17px;">
                <input type="text" id="searchShop" placeholder="场所搜索">
                <input type="button" value="搜索" class="searchIcon searchShopBtn">
      </label>

    /*查询结果放ul里面*/

    <ul id="searchResult" class="searchResult">

    </ul>

    2.css样式:

    #searchShop {

    1. line-height: 28px;
    2. text-indent: 5px;
    3.  180px;
    4. float:left
    5. height: 28px;
    6. border: none;
  • 相关阅读:
    (十一)Updating Documents
    (十)Modifying Your Data
    (九)Delete an Index
    (八)Index and Query a Document
    (七)Create an Index
    (六)List All Indices
    (五)Cluster Health
    (四)Exploring Your Cluster
    (三)Installation
    (二)Basic Concepts 基本概念
  • 原文地址:https://www.cnblogs.com/TigerZhang-home/p/9139579.html
Copyright © 2011-2022 走看看