This is an API which returns results in an array, for auto suggestions

For Eg. if I query "google" I get the results as follows

```
["google","google maps","google translate","google earth","google images","google docs","google voice","google scholar","google chrome","google calendar",]

```

You can try it yourself [here](http://teckzone.in/q.php?q=google)

Here's my code that I m using to query this API but it doesnt seem to return results.

[Here's](http://jsfiddle.net/SmmnP/) the code that I m using for it 

```
     $(function() {

    $( "#city" ).autocomplete({
        source: function( request, response ) {
            $.ajax({
                url: "q.php",
                dataType: "json",
                data: {
                    "q" : request.term
                },
                success: function( data ) {
                    response(data[1]);
                }
            });
        },
        minLength: 2
    });
});

```

I dont understand where am I going wrong in the code
Please correct me ! Because it doesnt seem to be working as I wanted

Edit: Accessing the Data from the same server