What I need to do is count the number of unique cells in a given table Under a Certain Table Header. It's a list of phone numbers, I would like to print how many UNIQUE Phone numbers there are. I can count how many rows there are for a total number but I need to be able to compair the cells and see which are unique and output that number.
This Prints total number of rows.
- var callFrom = $('.calltable tr').find('td:nth-child(3)');
- $('#callfrom').html(callFrom);
- <div id="callfrom"></div>
Using .find to set callFrom, does this create an array or one big long variable?
I was looking at the jquery.unique function but I'm not sure how to implement or if this even creates an array I can work with.
Sorry I'm a bit of a newb. Any help is greatly appreciated.
Thanks.