Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('a.pSort').live('click',function(e) {
- e.preventDefault();
- sname = $(this).attr('id'); //it's not clear why you even want this value.
- // how to toggle this
- $(this).replaceWith($(this).text()+'<span class="sort-desc"> </span>');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement