Metadata is read only once, then cached. In this case, you should use
the rules method to update:
http://docs.jquery.com/Plugins/Validation/rules

Jörn

On Tue, Dec 9, 2008 at 11:04 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>  I have javascript code that alters the values inside the validate
> attribute set on a ui element.  An example of what I change is
> validate="required:true, messages{required:'Please give a value}" to
> validate="required:true,messages{required:'Give a different value'}".
> This is changed via javascript and I find that the validation does not
> recognize these changes to the attributes.  Is there anything I am
> supposed to call to make the framework recognize these changes that
> were made on the fly?
> Thanks,
> K
>

Reply via email to