Solved

Remove Image from Folder using Jquery

Posted on 2012-03-13
3
1,991 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sums of coloumns in html/java 15 86
Copy items in a folder structure then put them back. 4 28
Find unused columns in a table 12 75
CSV file copy field 1 to field 2 2 42
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

730 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