Button onclick to reveal and hide another field
-
I am using a button with this onclick event to make a separate field visible
jQuery('.show-block.hide').removeClass('hide');
I want to be able to click the same button to hide it again on the next click, what should I add to the onclick event to make this happen please? Tried a few things and couldn’t get it to work.
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Button onclick to reveal and hide another field’ is closed to new replies.