Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery.each(jQuery('td'), function (index, value) {
- if (jQuery(value).text().match(/\.|,5/g) !== null) {
- jQuery(value).html(
- jQuery(value).text().replace(/\.|,5/g, "") +
- "<i class=\"fraction\">½</i>"
- );
- }
- });
Add Comment
Please, Sign In to add comment