deleting files in javascript

Posted by sasori on Stack Overflow See other posts from Stack Overflow or by sasori
Published on 2010-04-19T07:38:10Z Indexed on 2010/04/19 7:43 UTC
Read the original article Hit count: 140

Filed under:

is it possible to delete a file(s) inside the directory by just using javascript ?. what I currently have is, an index.php which displays the name of the files in the same directory and and a checkbox to each file name and at the bottom is a delete button. what I want to happen is, delete all the selected checkboxes once the delete button is clicked. I am not using mysql here, just a plain php file that displays the names. can someone show me how to delete the selected files using javascript ?

© Stack Overflow or respective owner

Related posts about JavaScript