Link to home
Start Free TrialLog in
Avatar of sachinjain_aspnet
sachinjain_aspnet

asked on

Remove Image from Folder using Jquery

Hi,

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

Please help me regarding this.
Avatar of maeltar
maeltar
Flag of United Kingdom of Great Britain and Northern Ireland image

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...
ASKER CERTIFIED SOLUTION
Avatar of sachinjain_aspnet
sachinjain_aspnet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sachinjain_aspnet
sachinjain_aspnet

ASKER

since Jquery / Javascript run on Client Side.