A short explanation of this module and what it is for, appreciated. This is way over my head but seems to be very useful if I understand it. Is it a way to add a data="...." attribute to any HTML construct and then have jquery give JS code access to the content of that attribute?
--Jacob >> of course the data option is easiest but will break validation >> the class works too, but what if you define a css class called some or >> even data? > > I don't follow. The "class" technique doesn't break existing > addClass/removeClass functionality - everything works as you might > expect. > >> script is the most verbose but will work every time and with >> type="application/json" it sure looks like the best solution. > > Yep - which is why I provide all three alternatives. It's interesting > how everyone likes their own particular style. Thankfully it isn't > that much harder to accommodate any one technique over another. > > --John > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/