I'm trying to hide a button depending on how many occurrences of a certain class there are.
I am dynamically putting data into a page and for each dynamic div i put in i assign it the class "propdata" I need to count how many occurrences there are of "propdata" and if there is only one occurrence i need to hide the button with a class of "topbook"
Hope that makes sense?
Thanks
Jamie