[Solved] $.ajax to call php function not working


Thanks everyone for your input, they were all good ideas, but in the end, the issue ended up being an IDE issue with codeLobster. I removed the src=”” line from <script type="text/javascript" src="https://stackoverflow.com/questions/34077625/js/jquery.js"></script> and let the intellisense fill in the src=”https://stackoverflow.com/questions/34077625/js/jquery.js” I finally got it to see the script but I was still getting the deletefile was undefined, well I guess that is case sensitive as my function was deleteFile and my onclick was deletefile, I sear I had changed that but…, once I changed them to be the same case my delete worked.

solved $.ajax to call php function not working