Skip to content

Instantly share code, notes, and snippets.

@edtoken
Created March 31, 2014 13:40
Show Gist options
  • Save edtoken/9892462 to your computer and use it in GitHub Desktop.
Save edtoken/9892462 to your computer and use it in GitHub Desktop.
var closeTr = function(arr)
{
for(var i=0; i<arr.length;i++){
var items = $(arr[i]).find('td[style*="visibility:hidden"]');
if(items.length < 2) continue;
arr[i].style.display = 'none';
}
}
var items = $('table.edit508').find('tr');
closeTr.apply(items);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment