Question: I have jQuery code with jQuery Mobile and when hitting a URL on another server, I see this error:

> 
> Syntax Error Invalid Label
> 
> 
> 

The source is:

```
$(document).ready(function(){
    var location;
    var starPrice;
    var endPrice;
    var beds;
    var baths;
    var typep;

    $('#location').change(function(){
        typep = $("input[name='type']:checked").val();
        baths = $("input[name='baths']:checked").val(); 
        beds = $("input[name='beds']:checked").val();
        location = $('#location').val();
        starPrice = $('#priceStart').val();
        endPrice = $('#priceEnd').val();

        $.ajax({
            url: "/findListings",
            data:{
                limit: 10
            },
            dataType: "jsonp",
            type : 'POST',
        }).done(function(data) {
            alert(data[0].ListingId);
        });             
    });
});

```

Answer: 
Extra comma here

```
type : 'POST',

```
some browsers will ignore some syantax errors.Here `,` is the problem