Jquery ... little things

Code Snippets


Remove duplicate IDs on a page - but not the first one

    $('[id]').each(function () {
                         $('[id="' + this.id + '"]:gt(0)').remove();
                   
  });


Comments

Popular posts from this blog

Linq Exclude from separate list

Sorting Ascending and Descending

Linq Query Syntax vs Method Syntax