jQuery Plugin To Highlight Duplicate Table Cells - duplifer.js

File Size: 3.29 KB
Views Total: 4697
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin To Highlight Duplicate Table Cells - duplifer.js

duplifer.js is a very small jQuery plugin that allows you to highlight table cells / rows in specified columns with different background colors.

How to use it:

1. Add jQuery library and the jQuery duplifer.js script into your html document.

<script src="//code.jquery.com/jquery-1.12.1.min.js"></script>
<script src="jquery-duplifer.js"></script>

2. Add the CSS class 'duplifer-highlightdups' to table's th element that contains duplicate cells.

<th>Column 1</th>
<th>Column 2</th>
<th class="duplifer-highlightdups">Column 3</th>

3. Call the plugin on the table element and done.

$(".table").duplifer();

Change log:

2016-3-24


This awesome jQuery plugin is developed by fiftynineseconds. For more Advanced Usages, please check the demo page or visit the official website.