• Post Reply Bookmark Topic Watch Topic
  • New Topic

why is <p:editor/> not showing on <div> toggle?  RSS feed

 
Victor Ade
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!