Solved

Remove Image from Folder using Jquery

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

803 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