EasyUI入门——CRUD

jQuery EasyUI是一个基于jQuery的框架,提供了一站式创建网页的解决方案。通过使用EasyUI,开发者可以减少JavaScript代码,只需HTML标记即可构建交互式用户界面。本文将介绍如何利用EasyUI进行弹出对话框和直接在表格上的CRUD操作。
摘要由CSDN通过智能技术生成

jQuery EasyUI 是一个基于 jQuery 的框架,集成了各种用户界面插件。

jQuery EasyUI 框架提供了创建网页所需的一切,帮助您轻松建立站点。

  • easyui 是一个基于 jQuery 的框架,集成了各种用户界面插件。
  • easyui 提供建立现代化的具有交互性的 javascript 应用的必要的功能。
  • 使用 easyui,您不需要写太多 javascript 代码,一般情况下您只需要使用一些 html 标记来定义用户界面。
  • HTML 网页的完整框架。
  • easyui 节省了开发产品的时间和规模。
  • easyui 非常简单,但是功能非常强大。
jQuery EasyUI下载

使用json时常用的jar

源码下载

EasyUI菜鸟教程


一、弹出对话框就行操作:

index.xml:

先引用一些css和js:

<link rel="stylesheet" type="text/css" href="jquery-easyui-1.5.3/themes/default/easyui.css" />
	<link rel="stylesheet" type="text/css" href="jquery-easyui-1.5.3/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="jquery-easyui-1.5.3/demo/demo.css">
	<script type="text/javascript" src="jquery-easyui-1.5.3/jquery.min.js"></script>
	<script type="text/javascript" src="jquery-easyui-1.5.3/jquery.easyui.min.js"></script>

body里面的代码:

  	
  	<!-- 创建表单 -->
    <table id="dg" title="所有用户" class="easyui-datagrid" style="width:550px;height:250px"
        url="userCtrl/selectUser.do"
        toolbar="#toolbar"
        rownumbers="true" fitColumns="true" singleSelect="true">
    <thead>
        <tr>
            <th field="name" width="110">姓名</th>
            <th field="phone" width="110">电话</th>
            <th field="email" width="150">邮件</th>
        </tr&g
  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值