Is there any way to delete files from folder using javascript..? Here is my function
function deleteImage(file_name) { var r = confirm(\"Are you
You cannot do it by using javascript. But if the file resides in the server then you can use php to do that..you can use unlink in php.
unlink($path_to_file);