Solved

Remove Image from Folder using Jquery

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

747 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

12 Experts available now in Live!

Get 1:1 Help Now