Ajax returning correct data BUT at wrong place

You are specifying the data type returned from the AJAX call to be JSON. However, the string you’re returning (“batman begins”) is not in JSON-format. Thus, the jQuery ajax-call will fail. Try passing your data as JSON using json_encode:

function locationContent() {
    echo json_encode( 'batman returns' );
    die();
}

This will fix your issue.

Furthermore, I can advise you to prefix your functions and adhere to the WordPress PHP Coding Standards (myplugin_locationcontent instead of locationContent, for example).