Tuesday, May 3, 2011

jQuery removeClass

[cc lang="javascript"]
$('td[class^="input_"]').removeClass(function (index, class) {
var matches = class.match (/spf_c\d+/g) || [];
return (matches.join (' '));
});
[/cc]

No comments:

Post a Comment