Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery('.first-sub').each(function () {
- var $this = jQuery(this);
- var txt = $this.prev('a').html();
- $this.prepend('<div class="text-before">' + txt + '</div>');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement