0 Replies Latest reply on Jan 16, 2008 4:14 AM by san00001

    textarea problem

    san00001 Level 1
      i have one texarea. i am trying to display the values of textarea in an alert
      i am entering text inside textarea.for each newline character a \ should be included in the place of new line.
      i am trying to do something lusing replace.pls help me
      public function change():void{
      var newstring:String=new String();
      var newstring1:String=new String();
      <textarea id="txt"/>
      <button click="change()"/>