Topic: upload a single file
I have written this post on stack overflow:
But I didn't get an answer and wondered if anyone can help. Here is the question.
I am trying to get this functionality:
1> User clicks pick image button and file is uploaded (working now)
2> User clicks pick image button again and existing file is replaced with new.
3> User clicks remove button and the file is removed.
This fiddle shows where I am:
I'm struggling to work out how to do this.
Can anyone help?