Guest User

Untitled

a guest
Aug 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. jQuery.each(jQuery('td'), function (index, value) {
  2. if (jQuery(value).text().match(/\.|,5/g) !== null) {
  3. jQuery(value).html(
  4. jQuery(value).text().replace(/\.|,5/g, "") +
  5. "<i class=\"fraction\">&frac12;</i>"
  6. );
  7. }
  8. });
Add Comment
Please, Sign In to add comment