⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radio.js

📁 1.. 需要jdom.jar和bsf.jar,否则无法跟spring整合. 2.. dwr生成的javascript函数会自动加一个回调函数的参数,如原来的函数是checkExist(String
💻 JS
字号:
/*
 * Ext JS Library 2.0
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/** * @class Ext.form.Radio * @extends Ext.form.Checkbox * Single radio field.  Same as Checkbox, but provided as a convenience for automatically setting the input type. * Radio grouping is handled automatically by the browser if you give each radio in a group the same name. * @constructor * Creates a new Radio * @param {Object} config Configuration options */Ext.form.Radio = Ext.extend(Ext.form.Checkbox, {    inputType: 'radio',    /**     * Overridden and disabled. The editor element does not support standard valid/invalid marking. @hide     * @method     */    markInvalid : Ext.emptyFn,    /**     * Overridden and disabled. The editor element does not support standard valid/invalid marking. @hide     * @method     */    clearInvalid : Ext.emptyFn,    /**     * If this radio is part of a group, it will return the selected value     * @return {String}     */    getGroupValue : function(){        return this.el.up('form').child('input[name='+this.el.dom.name+']:checked', true).value;    }});Ext.reg('radio', Ext.form.Radio);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -