You can do this using Apex:commandLink when you will click on the cross button pass the attachment id in parameter and call the apex class method which will be responsible for deleting the attachment.
You can do this using Apex:commandLink when you will click on the cross button pass the attachment id in parameter and call the apex class method which will be responsible for deleting the attachment.
http://blog.jeffdouglas.com/2010/03/03/passing-parameters-with-a-commandlink/
Check this too,
https://developer.salesforce.com/forums/?id=906F000000096SfIAI
https://developer.salesforce.com/forums/?id=906F000000099XCIAY
It might help you.
All Answers
http://blog.jeffdouglas.com/2010/03/03/passing-parameters-with-a-commandlink/
Check this too,
https://developer.salesforce.com/forums/?id=906F000000096SfIAI
https://developer.salesforce.com/forums/?id=906F000000099XCIAY
It might help you.