jquery ajax not returning the value :S

jquery ajax not returning the value :S

Hello people, i have this ajax function :


function checkTouch(check) {
    var type = "&OP=CheckTouch&tam="+$('#'+check + ' option:selected').text();
    $.ajax({
        type: "GET",
        url: "Validations.php",
        data:type,
        dataType: "json",
        success: function(msg){         
           return msg.found;

        },
      error:function(response){
         alert(response.status + ' ' + response.statusText);
    }
    });
}

It received well the response but the return msg.found, return allways undefined
var test = checkTouch('field');
if i do an alert(test), it gives me undefined :S


Can someone help me?


Thanks in advance