C# 클래스 jQueryApi.jQueryValidationObject

상속: jQueryObject
파일 보기 프로젝트 열기: volkanceylan/Serenity

공개 메소드들

메소드 설명
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