zoukankan      html  css  js  c++  java
  • easyui checkbox

    1. formatter: function (value) {  
    2.                     if (String(value) == "1") {  
    3.                         return '<span class="icon icon-enable"></span>';  
    4.                     }  
    5.                     else if (String(value) == "0") {  
    6.                         return '<span class="icon icon-disable"></span>';  
    7.                     }  
    8.                 },                  
    9. editor: {  
    10.                     type: 'checkbox',  
    11.                     options: {  
    12.                         on: 1,  
    13.                         off: 0  
    14.                     }  
    15.                 }  
  • 相关阅读:
    HTML5拖拽
    HTML5地理定位
    HTML5文件读取
    HTML5全屏
    HTML5网络状态
    可爱的小黄人
    HTML5新增特性
    前端表单标签
    前端(表格)
    前端列表
  • 原文地址:https://www.cnblogs.com/qingxuan/p/3042362.html
Copyright © 2011-2022 走看看