w2ui
Home
Get started
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Form
Overview
Events
Properties
Methods
Fields
Numeric
Date & Time
Drop Lists
Multi Selects
Upload
Custom
w2form.unlock
Unlocks the form.
unlock()
Returns
undefined
.
Description
This method will unlock the form previously locked with
.lock()
method. This method will call
w2utils.unlock()
to perform the action.
If you have following form:
$('#form').w2form({ name : 'form', formURL : '/server/path', fields: [ { name: 'first_name', type: 'text', required: true }, { name: 'last_name', type: 'text', required: true }, { name: 'email', type: 'email' } ], actions: { "save": function (target, data) { this.validate(); }, "reset": function (target, data) { this.clear(); } } });
You can do:
w2ui.form.unlock();
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus