[jQuery] jQuery - Ajax and Load question

[jQuery] jQuery - Ajax and Load question


Hello,
I have a function that have this:
            $.ajax({
             type: 'GET',
             url: 'index.php',
             data: 'id=' + productId + '&qtd=' + quantidade
             });
This piece of code is working great, but i need to know how to get the
response from the specified url, for example, the response from
index.php is two, i need to get that to place it inside a div, i know
with load i can do that, but i want to be able to send in the response
an array with some data.
Hope you understand :[
Regards!