title: Extjs: Load text to popup on button click with getComponent(''); as reference
body: <p>I can only create new javascript, I don't have access to source code. A button &amp; on click of that a popup is already there.</p>
  
  <p>Now I want to write ext.js script to add text(HTML) on popup form.</p>
  
  <p><img src="https://i.stack.imgur.com/JM8Zk.png" alt="this"></p>
  
  <hr>
  
  <p><img src="https://i.stack.imgur.com/9p0uQ.png" alt=""></p>
  
  <hr>
  
  <p>I want text like below:</p>
  
  <p><img src="https://i.stack.imgur.com/u8fPU.png" alt=""></p>
  
  <p>Below is the code I added in the console and I got the result as expected.</p>
  
  <pre><code>getComponent('addStakeholderUserBtn').on('click', function() {
      var addlabel = getComponent('stakeholderAddUserWindow');
      var labeltext = Ext.create('Ext.Panel', {
      html: "Before adding a new user,'Add Existing Stakeholder'",
      bodyPadding: 10 
      });
      addlabel.insert(1,labeltext);
  )};
  </code></pre>