hide/show toggle affecting all fields
-
Hello, working on next feature to show/hide description in .comment_area,
There is
a fieldset-fieldname1
with .comment_area-fieldname2 (custom class hidedesc) which is hidden on document load
and button-fieldname3 with code jQuery(‘.comment_area’).closest(‘.hidedesc’).toggle()The fieldset-fieldname1 is duplicated multiple times and on button press it shows .comment_area in all fieldsets, i need to modify it to show .comment_area only in related fieldset.
Could you please guide me what is wrong?)
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘hide/show toggle affecting all fields’ is closed to new replies.