Replace your error function as follows…
error:function (xhr, ajaxOptions, thrownError){
if(xhr.status==404) {
alert(thrownError);
}
}
More Related Contents:
- Build image slider with carouFredSel with this requirements? [closed]
- jQuery validate: How to add a rule for regular expression validation?
- How to disable anchor “jump” when loading a page?
- jQuery selector value escaping
- How to change page in jQuery mobile (1.4 beta)?
- Selecting the first “n” items with jQuery
- jquery find versus context selection
- jQuery – auto size text input (not textarea!) [duplicate]
- Fade in each element – one after another
- css width: calc(100% -100px); alternative using jquery
- Number nested ordered lists in HTML
- return false from jQuery click event
- Get height of div with no height set in css
- How to fade changing background image
- What is the best way of showing progress on an Ajax call?
- jqGrid : issue loading nested sub grid with local datatype
- How do I force jQuery append to NOT automatically close a tag?
- click() event is calling twice in jQuery
- jquery nth child that is currently visible
- Show Page Loading Spinner on Ajax Call in jQuery Mobile
- Jquery JQGrid – How to set alignment of grid header cells?
- Cannot load an external page with jQuery.load into a div in my page
- Post JSON to Python CGI
- jQuery get input value after keypress
- How do I clear/reset the selected dates on the jQuery UI Datepicker calendar?
- jQuery Toggle Text?
- Performance differences between using “:not” and “.not()” selectors?
- jQuery UI – Droppable only accept one draggable
- Link to open jQuery Accordion
- Include js file in Go template