| Get the value of a form control |
|
|
|
|
| Collects the values of all successful form controls in the wrapper set, returning the array of strings that these values constitute. Returns an empty array without a value |
Fieldvalue (Excludeunsuccessfull) |
Bool:false unsuccessful controls are also collected |
Array of values |
|
| The form-controlled machine returns the encoded string. A form in the package set |
Formserialize (semantic) |
Bool:true in order. False: Random |
The generated query string |
|
| All the controls in the wrapper set. And can be used to serialize a part of the form |
Fieldserialize (excludeunsuccessful) |
。。。。 |
The generated query string |
|
| Make form controls empty and reset |
|
| Clears the value of any control in the wrapper set, or the descendant node of the wrapper set element |
ClearForm () |
|
Packing set |
|
| Native Reset () method |
Resetform () |
|
Packing set |
|
| Submitting a form via Ajax |
|
|
|
|
| If applied to the wrapper set that contains the form, gets the name and value of all successful controls for the target form and commits as an AJAX request |
Ajaxsubmit (Options) |
object or function. Hash object or Success callback function
URL: Default action from the form
Type: The method of the default form
Datatype:xml/json/script target: string | object | element specifies one or more DOM elements to accept the response body as content
Beforesubmit: function. Called before initiating a request. If the function returns False, the form submission is canceled. 3 Parameters: Object of data value (Name,value) array, jquery match set, Options object
Success: callback function, called when the request is complete. Parameters: The jquery matching set of the success string, Ajaxsubmit () command based on the response body of the datatype format
Clearform:true/false after successful emptying
Resetform:ture/false
Semantic:true/false order or Random
Other Ajax options. |
Packing set |
|
| Set up forms, submit forms, and block through normal semantic events |
Ajaxform (Options) |
.... |
Packing set |
|
| Delete the settings applied to the form on the package set so that the form submission can be done in a normal manner |
Ajaxformunbind () |
|
Packing set |
|