title: Getting the value of Primefaces' p:editor when onchange is called
body: <p>I have a  component.
  I want to be notified whenever its value is changed. Then I need to check the new value to decide if it's empty (hence, I'll disable the submit button) or not.</p>
  
  <p>The former can be done using the onchange attribute.</p>
  
  <p>My problem is with the latter: accessing p:editor's value from within javascript!</p>
  
  <p>Please help.</p>