how to handle file not found error in $.getscript()
<p>I am using jquery function $.getscript() to load script </p>

<p>$.getScript(http:\somedomain\testscript.js, function() {
        //do some thing</p>

<p>});
Its works properly when testscript.js found but how can i handle error when file not found</p>
