php - jQuery $.post Syntax -


I am using phpStorm to edit a file. This code breaks the page:

  $ ("# delete_all_button"). Click (function () {var oTT = TableTools.fnGetInstance ('pickup_list_all'); var selectedRows = oTT.fnGetSelectedData (); First = selectedRows [0] [selectedRows.length-1]; $ .post ("delete.php ", {'ClaimID': first}, function (data) {console.log (data);}}}});   

Especially among colon claims and earlier. When I rotate a red tight under the colon, the editor tells me "} expected" when I try and load the page, I do not get any error in the console and the page is white only

Another important thing to note is that when I copy the post code that works before any other file that does not have any error in the code in this file, then errors Let Ikhai.

Trouble? Libraries?

I've imported jquery with the following line:

  

  

Comments