I am trying to use the WebCaptcha control (version 13.1) with the validation of the users entry being done on the client side.
I have used the sample code from the Infragistics web site, which suggests the following should be done:
var captcha = $IG.WebCaptcha.find('WebCaptcha1'); // gets a reference to the WebCaptcha control if (captcha.get_validationFailed()) // checks if the validation was successful on the server {
}
However I am getting an error saying the the find method is undefined on the $IG.WebCaptcha object.
Any ideas what I am missing which is causing the find method not to be there?