How to add to $.get in JQuery error handling function?
<p>How to add to $.get in JQuery error handling function ?
My request looks like</p>

<pre><code>$.get('www.test.com', temp_parameters, function(data) {
            alert('data='+data['result']);
        },"json");
</code></pre>

<p>but there is no function if error happens. Where to add that function ?</p>
