[Liu Yang Java]_eayui-searchbox search Component _ 6th

Source: Internet
Author: User

The search box in Easyui is also a common basic component that can be used in conditional search

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "UTF-8"><title>Insert Title here</title><!--1. Introduction of JQUERY.MIN.JS2. Introduction of JQUERY.EASYUI.MIN.JS3. Introduction of Jqueryeasyui css4. Import internationalized Resource file Easyui Create components in two ways 1.html mode Creation (Data-options method is recommended to add component properties , data-options mode is HTML5) 2.js mode creation, the addition of attributes is a JSON format style -<Scripttype= "Text/javascript"src=".. /easyui/jquery.min.js "></Script><Scripttype= "Text/javascript"src=".. /easyui/jquery.easyui.min.js "></Script><Linkrel= "stylesheet"type= "Text/css"href=".. /easyui/themes/default/easyui.css "><Linkrel= "stylesheet"type= "Text/css"href=".. /easyui/themes/icon.css "><Scripttype= "Text/javascript"src=".. /easyui/locale/easyui-lang-zh_cn.js "></Script><styletype= "Text/css">    </style><Scripttype= "Text/javascript">    functionQQ (Value,name) {Console.log (value+" === " +name); }</Script></Head><Body><inputclass= "Easyui-searchbox"data-options= "prompt: ' Please enter the value to search for ', Searcher:qq,menu: ' #mm '"><DivID= "MM">    <Divdata-options= "Name: ' Man ', Iconcls: ' Icon-cut '">Man</Div>    <Divdata-options= "Name: ' Woman ', Iconcls: ' Icon-print '">Woman</Div></Div></Body></HTML>

[Liu Yang Java]_eayui-searchbox search Component _ 6th

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.