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