I am trying to hide the divs which are starting with same letter. These divs comes dynamically.
$('div[id^="treeDiv"]').each(function() {
// here i need to hide the divs starting with "treeDiv"
});
How to do it. Please give me suggestion.
Thanks
1 Answer