title: how to get value from Ext.Ajax.request
body: <pre><code>Ext.Ajax.request({
     url:'abc/abc/abc',
     success:  function(response){
        var result = Ext.decode(response.responseText);
        var value=result.roles;
     }
  });
  </code></pre>
  
  <p>How can I get "value=result.roles" from ext.ajax.request?</p>
  
  <p>I am trying to use an action.</p>
  
  <pre><code>Ext.Ajax.request({
     url:'abc/abc/abc',
     success: function(response){
        var result = Ext.decode(response.responseText);
        var value=result.roles;
        getValue(value);                    
     }
  });
  
  function getValue(value) {
     return value;
  };
  </code></pre>
  
  <p>But I still can't get the value.</p>
  
  <p>How can I do this?</p>