title: How to get ID Parent from Child ID when i have className of the Parents JQuery/JS
body: <p>First, I'm sorry , I don't speak english very well,</p>
  
  <p>I want get ID of the p:dialog in Javascript by using id of its child p:inputText and the class="ui-dialog-title" of the client side of p:dialog.</p>
  
  <pre><code>&lt;h:form id="formID" &gt;
  
  &lt;p:dialog id="DialogID"  header="Title"  widgetVar="v_DialogID"&gt;
  
          &lt;p:inputText   id="InputID"  value="#{bean.input}"  onblur="changeTitle(this.id)" /&gt;
  
  &lt;/p:dialog&gt;
  
  &lt;/h:form&gt;
  </code></pre>