title: ajax call to webservice on external location
body: <p>Hello im developing portlet for liferay and im trying to call webservice. I know i have to support CORS in jquery but even if defined i can only get respond from webservice with IE9 (?????). Chrome and mozilla just dont respond.</p>
  
  <p>This is my code :</p>
  
  <pre><code> jQuery.support.cors = true; 
   AUI().ready(function(){
   Liferay.on('senduid', function(data){
        var uid=data.data;
        var v="1.0";
        var q="dojo toolkit";
        $.ajax({ url: 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&amp;q=dojo%20toolkit', data: "&amp;v="+v+"&amp;q="+q, dataType: 'json',  success: function(data){
                alert('here...success');
        },
        // complete: function (data) {
        //     alert('here');
        // }
        });
   });
   });
  </code></pre>
  
  <p>As i said alert 'here succes' appears only in IE.</p>
  
  <p>Can anybody help me how to do it? </p>
  
  <p>PS : webservice should send something like this :</p>
  
  <pre><code> "pages": [
              {
                  "start": "0",
                  "label": 1
              },
              {
                  "start": "4",
                  "label": 2
              }, ...
  </code></pre>
  
  <p>Thanks</p>