preview image delete

hi friends…

        how to delete the image in preview method....using javascript..

thank you