Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Victor Ade
Ranch Hand
Posts: 35
  • 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?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!