title: Use ajax success return formatted data to populate easyUI form
body: <p>I am trying to use backend returned data to populate textboxes in the form. If I replace the "result" var with full raw </p>
  
  <pre><code>data(eg.{
    name:'myname',
    email:'mymail@gmail.com',
    subject:'subject',
    message:'message',
    language:'en'
  }
  </code></pre>
  
  <p>it works... So it make wonder whether the returned data is not formatted properly or what?</p>
  
  <pre><code>$.ajax({
    type: "post",
    cache: false, 
    contentType: 'application/x-www-form-urlencoded; charset=utf-8',                  
    url: "&lt;%=path%&gt;/storeRace",
    data:{     
        type:'query', venue:'&lt;%=race.getVenue()%&gt;', date:'&lt;%=race.getDate().toString()%&gt;', race_num:'&lt;%=race.getRaceNum()%&gt;'
    },
    success:function(result){
        if(result=="none"){                       
        }                
        else{
            alert(result);
            $('#raceForm').form('clear');
            $('#raceForm').form('load', result);
        }
    },
    error:function(result){
        $.messager.alert('Error',result,'error'); 
    }                  
  }); 
  </code></pre>