0
In jQuery I know that:
$("#minhaDiv .classe").attr("display","block");
Displays all child elements of the parent element #minhaDiv containing the class .classe, but I do not know how to make the condition when it is not elements with the class.
I have several elements div within a form, and the select upon receiving the event .change() hide all Divs that do not contain classes .classe, Handler is done, the switch to verify the value of select and hide each class according to the option.
I don’t know how to hide all the child elements inside #minhaDiv which does not contain the class .classe
Thanks Fernando, as needed, this is news to me, I tried to search in English too but had not found. abs
– ElvisP