definitive answer on file deletion using jquery

definitive answer on file deletion using jquery

There is a lot of conflicting information about whether or not you can delete a file from a server directory using javascript/jquery.  It makes sense to me that there would be some security issues with this if it were accross domains, but other wise I am no sure.

I looked through the API and I don't see anything in .ajax that would lead me to believe you can delete a file, but can you give me a definitive answer on this?