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

Localizer in Controller

Grouping with Data Entities

Linq - Data Entities - Records by Max Date with CASE