My requirement is to hide the content of a <div> tag on
jsf page and only show the contents when a button is clicked.
tried this js code:
works fine except that <p:editor> dont get shown when button is clicked to show div content.
here's the div i want to show/hide on click of
would anyone mind pointing out what could be wrong with this code? why editor is not showing on div toggle?