Solved

Remove Image from Folder using Jquery

Posted on 2012-03-13
3
1,903 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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 …

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now