You can’t declare a variable within an object literal. Move pid
outside:
var pid = ...
$.ajax({ ... });
solved Chrome SyntaxError: Unexpected Identifier [closed]
You can’t declare a variable within an object literal. Move pid
outside:
var pid = ...
$.ajax({ ... });
solved Chrome SyntaxError: Unexpected Identifier [closed]