seahorse. | |
About Seahorse jQuery plugin | The Seahorse jQuery plugin is a plugin to integrate the Seahorse library with the jQuery framework. |
Functions | |
seaBehavior() | Gives to a group of inputs a behavior. |
seaForm() | Gives to a group of forms a behavior. |
seaValidate() | Checks if all the selected elements, that have a Seahorse behavior, have valid values. |
seaVerify() | Call the function verify() of all the selected elements that have a Seahorse’s behavior. |
The Seahorse jQuery plugin is a plugin to integrate the Seahorse library with the jQuery framework.
This plugin is licensed under the LGPL Version 3 license.
That means you can use Seahorse to develop commercial or open source projects, but, in both cases, you must publish, under a licence compatible with LGPL v3, any changes you make to the library.
jQuery.fn.seaBehavior = function( type, validationOptions, responseOptions )
Gives to a group of inputs a behavior.
The behavior type if defined by the ‘type’ parameter. The valid values for ‘type’ are: text, alphabetical, alphanumeric, number, integer, date, time, ipAddress, http, ftp, and email.
type | The type of behavior to asign. |
validationOptions | A JSON element with the validation options. |
responseOptions | A JSON element with the response options. |
Gives to a group of inputs a behavior.
jQuery.fn.seaBehavior = function( type, validationOptions, responseOptions )
Gives to a group of forms a behavior.
jQuery.fn.seaForm = function( responseFunction, errorMessage )
Checks if all the selected elements, that have a Seahorse behavior, have valid values.
jQuery.fn.seaValidate = function()
Call the function verify() of all the selected elements that have a Seahorse’s behavior.
jQuery.fn.seaVerify = function()