mini.HtmlFile

文件上传控件(html实现)。

Extend

mini.ButtonEdit

Usage

<form id="upload" action="upload.aspx" method="post" enctype="multipart/form-data">         
    图片:<input class="mini-htmlfile" name="Fdata" limitType="*.txt" />       
    <input type="submit" value="上传"/>
</form>

Screenshots

Examples

HtmlFile

Properties

NameTypeDescriptionDefault Set? Get? Tag?
buttonText String 按钮文本
limitType String 文件限制类型。如"*.bmp;*.txt"

Methods

NameParameterDescriptionReturn

Events

NameEventObjectDescription
fileselect 文件选择时激发