C# Класс jQueryApi.jQueryValidationObject

Наследование: jQueryObject
Показать файл Открыть проект

Открытые методы

Метод Описание
Rules ( string action, jQueryValidationRules rules ) : jQueryValidationRules

Adds or removes the specified rules to the first matched element. Requires that the parent form has been validated prior to the call.

Valid ( ) : bool

Checks whether the selected form is valid or whether all selected elements are valid.

Validate ( ) : jQueryValidator

Validates the selected form.

Validate ( jQueryValidatorOptions options ) : jQueryValidator

Validates the selected form.

Приватные методы

Метод Описание
GetRules ( ) : jQueryValidationRules
RemoveAttributes ( string attributes ) : string
jQueryValidationObject ( ) : System

Описание методов

Rules() публичный Метод

Adds or removes the specified rules to the first matched element. Requires that the parent form has been validated prior to the call.
public Rules ( string action, jQueryValidationRules rules ) : jQueryValidationRules
action string The action to perform. Should be 'add' or 'remove'
rules jQueryValidationRules The rules to add or remove to the specified element.
Результат jQueryValidationRules

Valid() публичный Метод

Checks whether the selected form is valid or whether all selected elements are valid.
public Valid ( ) : bool
Результат bool

Validate() публичный Метод

Validates the selected form.
public Validate ( ) : jQueryValidator
Результат jQueryValidator

Validate() публичный Метод

Validates the selected form.
public Validate ( jQueryValidatorOptions options ) : jQueryValidator
options jQueryValidatorOptions The validation options
Результат jQueryValidator