a new, and I think very useful function, match()

as in
.match(/\d+/g).wrap("<i/>").end()
gives italicized digits

or

.match(/\b[A-Z]\w*\b/g).wrap('<i/>')

italicizes words that start with a cap


All happening in place in the dom.

get it: http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/
see it: http://cigar.dynalias.org/plugins/textNodes/
--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to