본문 바로가기

Javascript

Uncaught SyntaxError: Invalid shorthand property initializer

Uncaught SyntaxError: Invalid shorthand property initializer

 

ajax 사용시 변수 넣을때 : 를 = 로 사용한 오류

 

$.ajax({

                type: 'post',

                url: '/shp/rvw',

                data: { "_token": "{{ csrf_token() }}",shp_id : shp_idcus_id : cus_idshp_rtn : shp_rtnshp_rvw : shp_rvw, ord_no = ord_no},

 

 

반응형