i have this ajax call using jquery but in chrome throws

```
Uncaught SyntaxError: Unexpected token : 

```

and Mozilla throws

```
SyntaxError: invalid label
200: function(){alert(200);},

```

here is my code what i am doing wrong thanks a lot.

**UPDATE it works now i was mixing success function and status sorry for the mistake**

```
function servletCaller()
{    
try 
{                
    $.ajax(
    {url:'deleteImageHelper.do',dataType: 'json',context: document.body,
    success: function(data){},
    statusCode:
    {
      200: function(){alert(200);},
      404: function(){alert(404);},
      500: function(){alert(500);}
    }
    });         
 }
 catch(Exception){alert(Exception);}
}

```