---
title: "combobox--3"
author: "youyang_java"
date: "2014-06-16T10:32:35Z"
tags: []
categories: ["Web前端"]
slug: "combobox-3"
draft: false
lastmod: "2014-06-16T10:32:35Z"
id: 2080469
url: "https://youyang-java.iteye.com/blog/2080469"
---

![](http://dl2.iteye.com/upload/attachment/0098/1394/17124215-c811-3397-afcf-5655de1eea5d.png)  
 &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;  
&lt;html&gt;  
  &lt;head&gt;  
   
    &lt;meta http-equiv="keywords" content="keyword1,keyword2,keyword3"&gt;  
    &lt;meta http-equiv="description" content="this is my page"&gt;  
    &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt;  
     
    &lt;!-- easyui的样式 --&gt;  
    &lt;link rel="stylesheet" type="text/css" href="../jslib/jquery-easyui-1.3.1/themes/default/easyui.css"&gt;  
    &lt;!-- 小图标的样式 --&gt;  
    &lt;link rel="stylesheet" type="text/css" href="../jslib/jquery-easyui-1.3.1/themes/icon.css"&gt;  
     
    &lt;script type="text/javascript" src="../jslib/jquery-easyui-1.3.1/jquery-1.8.0.min.js"&gt;&lt;/script&gt;  
    &lt;script type="text/javascript" src="../jslib/jquery-easyui-1.3.1/jquery.easyui.min.js"&gt;&lt;/script&gt;  
    &lt;script type="text/javascript" src="../jslib/jquery-easyui-1.3.1/locale/easyui-lang-zh\_CN.js"&gt;&lt;/script&gt;  
   
 &lt;script type="text/javascript"&gt;  
  $(function(){  
     
  });  
 &lt;/script&gt;  
   
  &lt;/head&gt;  
     
  &lt;body&gt;   
     
    &lt;input id="cc1" class="easyui-combobox" data-options="    
        valueField: 'id',    
        textField: 'name',  
        [url:'/sypro/userController/combobox.action'](/admin/blogs/'/sypro/userController/combobox.action'),  
        &lt;!-- 设置mode: 'remote'以后，就会向后台发送q参数，进行查询 --&gt;  
        mode: 'remote',  
        &lt;!-- 延迟 --&gt;  
        delay: 500 "  
    /&gt;   
     
  &lt;/body&gt;  
&lt;/html&gt;