Show/Hide multiple DIV buttons

Marchessa's Avatar


11 Jun, 2015 04:02 PM

I created a FAQ page and would like to add a "Show All/Hide All" option in the form of a buttons (or even a simple link to click on). When I test out the code I have created through a regular internet browser (i.e. mozilla), the button work just fine. However, when I test out the code through the Cascade Server, the buttons seem to be invalid. How do I get the buttons to work so that when clicked, all responses are either revealed or hidden?

I have attached the exact coding in this message. Thank you for your time. Hope to hear from you soon.

  1. 1 Posted by Penny on 12 Jun, 2015 02:47 PM

    Penny's Avatar

    Hi Marchessa,

    I am guessing that the < in your javascript is being converted to &lt;

    I would recommend pasting the content of the javascript in a .js file and then add the link to the javascript file on your page. I hope that makes sense.

    Let me know if you need clarification. Thanks!

  2. Support Staff 2 Posted by Tim on 25 Jun, 2015 01:33 PM

    Tim's Avatar

    Hi Marchessa,

    Just wanted to make sure you saw Penny's comment above. Let us know if you're still having trouble.


  3. Tim closed this discussion on 17 Jul, 2015 02:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac