I just saw this jQuery Metadata Plugin from John Resig, Yehuda Katz, Jarn Zafferer and Paul McLanahan, in my search for JQuery Form Validation and what an interesting idea!
I am wondering what are the general guidelines for storing things like error / validation text, tooltip text, default text, etc. I know that you can put them in the title="My Tooltip Message" attribute, but it would be very dirty and would not be DRY if many of my items had the same tooltips and errors, so to speak.
And is there something wrong with storing all this in hidden inputs or html metadata? Or is there a better way to just save all this in an XML configuration file and get them through jQuery?
jquery html validation configuration
Lance pollard
source share