Geeks With Blogs
Jonas Bush Blog.blog.blog.blog January 2007 Entries
Triggering a validator through javscript
In this post, I talked about enabling or disabling a validator client-side. Someone had commented asking how to change the status of a control from valid to invalid. The following javascript works at least for required field validators, I haven't tested it with anything else (but I imagine it should work just fine). Again, this is 2.0, I haven't tested this in 1.1: var myValidator = document.getElementById('&l... For a required field validator ......

Posted On Monday, January 29, 2007 3:45 PM

Copyright © Jonas Bush | Powered by: GeeksWithBlogs.net