w2form.reload

Reloads record data and refreshes the form.
reload([callBack])
callBack function, call back function when form is reloaded (optional)
Returns undefined.

Description

If the data source is remote (the form has .recid and .url properties defined), this method will reload record data from the remote data source. If the data source is local, the form will be refreshed.
If you have following form: You can do:

User Comments

comments powered by Disqus