1. 程式人生 > >Uncaught SyntaxError: Invalid shorthand property initializer

Uncaught SyntaxError: Invalid shorthand property initializer

data spa logs div url function error: uncaught etc

$.ajax({                   
                            url : ‘../../collateralQuery/getCollateralQueryDetail‘,
                            type : ‘POST‘,
                            data : {},
                            dataType : ‘json‘,
                            success : function(data) {
                                alert(
"success"); }, error : function() { alert("error"); }, }

Uncaught SyntaxError: Invalid shorthand property initializer