How to get whether jquery response is a file or not?
<pre><code>$(document).ajaxComplete(function(event, request, settings) {
        alert(request.responseText);
});
</code></pre>

<p>Here in this code, it is alerting both js,css file and the plain response. Is there anyway to get only the plain responses.</p>
