Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Validate optional form fields with default values


daveVk - 11:52 am on Oct 23, 2012 (gmt 0)


Fiddling the className needs a bit to extra logic.
#curl => 'url'
#cemail => ...
etc
and confuses matters if classes mentioned in css.

In either case the 'value != element.defaultValue' test is now redundent in addMethod calls.


Thread source:: http://www.webmasterworld.com/javascript/4510909.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com