日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

php easyui filebox,EasyUI1.4 新控件TextBox,FileBox

發布時間:2023/12/18 php 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 php easyui filebox,EasyUI1.4 新控件TextBox,FileBox 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

TextBox

擴展自 $.fn.validatebox.defaults. 重寫 $.fn.textbox.defaults.

TextBox 是加強的輸入控件,使我們建設表單更加快捷. 是一些復雜控件的基礎控件,比如?combo,datebox,spinner,等等.

依賴

validatebox

linkbutton

實例

html創建方式

javascript創建方式

$('#tb').textbox({

buttonText:'Search',

iconCls:'icon-man',

iconAlign:'left'

})

屬性

屬性拓展自 validatebox 控件,下面是textbox新添加的屬性:

Name

Type

Description

Default

width

number

The width of the component.

auto

height

number

The height of the component.

22

prompt

string

The prompt message to be displayed in input box.

''

value

string

The default value.

type

string

The textbox type. Possible values are 'text' and 'password'.

text

multiline

boolean

Defines if this is a multiline textbox.

false

editable

boolean

Defines if user can type text directly into the field.

true

disabled

boolean

Defines if to disable the field.

false

readonly

boolean

Defines if the component is read-only.

false

icons

array

The icons attached to the textbox. Each item has the following properties:

iconCls: string, the icon class.

disabled: boolean, indicate if the icon is disabled.

handler: function, the function to process the clicking action on this icon.

Code example:

$('#tb').textbox({

icons: [{

iconCls:'icon-add',

handler: function(e){

$(e.data.target).textbox('setValue', 'Something added!');

}

},{

iconCls:'icon-remove',

handler: function(e){

$(e.data.target).textbox('clear');

}

}]

})

[]

iconCls

string

The background icon displayed on the textbox.

null

iconAlign

string

Position of the icons. Possible values are 'left','right'.

right

iconWidth

number

The icon width.

18

buttonText

string

The displaying text of button that attached to the textbox.

buttonIcon

string

The displaying icon of button that attached to the textbox.

null

buttonAlign

string

Position of the button. Possible values are 'left','right'.

right

事件

事件拓展自 validatebox 控件,下面是textbox新添加的事件:

Name

Parameters

Description

onChange

newValue,oldValue

Fires when the field value is changed.

onResize

width,height

Fires when the textbox is resized.

onClickButton

none

Fires when the user click the button.

onClickIcon

index

Fires when the user click a icon.

方法

方法拓展自 validatebox 控件,下面是textbox新添加的方法:

Name

Parameter

Description

options

none

Return the options object.

textbox

none

Return the textbox object.

button

none

Return the button object.

destroy

none

Destroy the textbox component.

resize

width

Resize the component width.

disable

none

Disable the component.

enable

none

Enable the component.

readonly

mode

Enable/Disable readonly mode.

Code example:

$('#tb').textbox('readonly');// enable readonly mode

$('#tb').textbox('readonly',true);// eanble readonly mode

$('#tb').textbox('readonly',false);// disable readonly mode

clear

none

Clear the component value.

reset

none

Reset the component value.

setText

text

Set the displaying text value.

getText

none

Get the displaying text value.

setValue

value

Set the component value.

getValue

none

Get the component value.

getIcon

index

Get specified icon object.

FileBox

拓展自 $.fn.textbox.defaults. 重寫 $.fn.filebox.defaults.

由于瀏覽器安全問題, 一些方法 比如 'setValue' 不能使用filebox 組件.

依賴

textbox

實例

html創建方式

javascript創建方式

$('#fb').filebox({

buttonText: 'Choose File',

buttonAlign: 'left'

})

屬性

屬性拓展自 textbox, 下面是?filebox新增屬性.

Name

Type

Description

Default

buttonText

string

The displaying text of button that attached to the textbox.

Choose File

buttonIcon

string

The displaying icon of button that attached to the textbox.

null

buttonAlign

string

Position of the button. Possible values are 'left','right'.

right

事件

事件拓展自 textbox.

方法

方法拓展自 textbox.



總結

以上是生活随笔為你收集整理的php easyui filebox,EasyUI1.4 新控件TextBox,FileBox的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 2019国产精品| 一级国产特黄bbbbb | 神马伦理视频 | 在线a天堂 | 日韩av在线播放一区 | 美女在线不卡 | 免费观看毛片 | 性久久久久久久久 | 日本大乳美女 | www.av在线.com| 三级黄色片免费观看 | 九九久久久 | 91看片成人| 人妻互换一区二区激情偷拍 | 第一页综合 | 中文字幕人妻一区二区在线视频 | 深夜福利在线播放 | 国产第一页精品 | 扒开美女内裤狂揉下部 | 欧美a免费 | 精品国产一区二区三区久久狼黑人 | 亚洲天堂免费在线观看视频 | 97超碰总站 | 最新中文字幕av | 欧美aaaaaaa| 那个网站可以看毛片 | 蜜臀视频在线观看 | 欧美一区三区 | 久久婷香 | 男女爱爱网站 | 久久综合影院 | 四虎新网站 | 久草免费新视频 | 亚洲一区h | 91日日| 男人天堂va | 国产精品电影一区 | av成人精品 | 午夜免费网站 | 久久综合九色综合欧美狠狠 | 亚洲精品v天堂中文字幕 | 制服丝袜第二页 | 国产污污在线观看 | 日韩城人免费 | 国产精彩视频一区二区 | 波多野在线视频 | 日韩精品一区二区三区高清免费 | 亚洲精品视频一二三区 | 永久免费精品视频 | 国产精品h| 免费 成 人 黄 色 | 国产精品久久久久桃色tv | 国产黄色在线看 | 日韩欧美高清一区 | 欧美精品在欧美一区二区 | 日韩爱爱网 | 亚洲另类欧美日韩 | 无码人妻丰满熟妇区96 | 日产精品一区二区 | 国产视频手机在线播放 | 91精品久久香蕉国产线看观看 | 无码精品一区二区三区AV | 国产一区二区三区自拍 | 成人午夜视频在线免费观看 | 91激情 | 一区二区三区在线视频播放 | 日日操日日干 | 亚洲一区91 | 中文字幕av在线 | 亚洲av无码一区二区三区人妖 | 成年人在线观看视频免费 | 国产精品2 | 人人插人人射 | 椎名空在线播放 | 亚洲国产精品无码久久久久高潮 | 亚洲三级黄色 | 少妇高潮毛片色欲ava片 | 五月婷婷六月丁香综合 | 狂野欧美性猛交blacked | 中文字幕亚洲日本 | 午夜影院免费体验区 | 国产又粗又爽视频 | 成人av一区二区在线观看 | 亚洲成人精品一区二区三区 | 337p亚洲欧洲色噜噜噜 | 久久久精品国产sm调教 | 日本少妇三级 | 欧美人妻精品一区二区 | 日日狠狠久久偷偷四色综合免费 | 在线免费观看 | 女人做爰全过程免费观看美女 | 日韩在线视频免费观看 | 久久国产精品综合 | 一级大毛片| 美女被揉胸视频 | 别揉我奶头啊嗯一区二区 | 日韩欧美三级视频 | 法国空姐电影在线观看 | 好姑娘在线观看高清完整版电影 |