Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $("a").each(function(i, v) {
- if ($(this).is(':contains("*")')){
- $(this).addClass('btn btn-primary');
- var newValue = $(this).text().replace('*', '');
- $(this).text(newValue);
- }
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement