I'm looking for a clean way to add attributes to HTML elements in order 
to pass information to JavaScript. I'd like to write valid XHTML and 
therefore in the past have eschewed adding non-standard attributes. 
Instead, I encoded my additional information in the class attribute, 
which is technically valid, but doesn't feel very clean nevertheless. 
Is there a nice, easy, and validating way of achieving what I'm trying 
to do?

Michael

-- 
Michael Schuerig
mailto:[EMAIL PROTECTED]
http://www.schuerig.de/michael/
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to