ajax request does not show proper data in firefox, but works in chrome and IE
<p>This is my</p>

<pre><code>function getABC(x) {
    $.ajax({
            type: 'GET',
            url: "abcd.do",
            data: {abc: x},
            success: function (data) {
                alert(data);
            }
        }
    );
}
</code></pre>

<p>Here, alert box shows proper data in Chrome and IE, but gives '[XML Document]' when ran in firefox(irrespective of operating system).
Can someone tell what could be possible solution.</p>