title: Titanium, display the value in XML from javascript?
body: <p>I need to get the textarea value from java script file. below is my code,</p>
  
  <p>On click of button in index.xml, the control should go to getPrivacy_policy() and display the privacy page. </p>
  
  <p><strong>Privacy.xml</strong></p>
  
  <pre><code>&lt;Alloy&gt;
      &lt;Window id="privacyWin" title="Plan India" platform="android,ios"&gt;
          &lt;View id="header"&gt;
                &lt;Label id="title"&gt;Privacy Policy&lt;/Label&gt;
          &lt;/View&gt;
  
           &lt;TextArea id="privacyID" suppressReturn="false"&gt;&lt;/TextArea&gt;
  
      &lt;/Window&gt;
  &lt;/Alloy&gt;
  </code></pre>
  
  <p><strong>index.js</strong></p>
  
  <pre><code>   function getPrivacy_policy()
      {
          var privacy_string = "some long text...";
          return privacy_string;
          var privacyPolicy = Alloy.createController('privacy').getView();
          privacyPolicy.open();
      }
  </code></pre>
  
  <p>How can display the <code>privacy_string</code> value in textarea which is located in privacy.xml?</p>
  
  <p>Note that both (XML and Js) are different files.</p>