Solved

Remove Image from Folder using Jquery

Posted on 2012-03-13
3
1,960 Views
Last Modified: 2012-04-16
Hi,

I want to remove image from folder physically using Jquery / Javascript.

Please help me regarding this.
0
Comment
Question by:sachinjain_aspnet
  • 2
3 Comments
 
LVL 11

Expert Comment

by:maeltar
ID: 37713468
Is the folder on a server or local drive ?

In fact it is not that relavant where the folder is, javascript is ran/run on the client, there fore all you could do would be to send an ajax request to the server to run some php that would remove the file, so really, you need a script to call a php script on the server that will delete the file.

If it is a local (on the client) folder that you need deleteing, then as far as I know it is not possible, could you imagine the security risks should that be possible...
0
 

Accepted Solution

by:
sachinjain_aspnet earned 0 total points
ID: 37836344
yes , if image is on Server , then we can not delete using Jquery ...
0
 

Author Closing Comment

by:sachinjain_aspnet
ID: 37850411
since Jquery / Javascript run on Client Side.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This article will show, step by step, how to integrate R code into a R Sweave document
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question