hii all in my code i m uploading a file with .doc extension its working fine and giving alert when extension is not .doc but the problem is when it is different file extension, after the alert it is not clearing the field.
using reset as a solution will reset the whole page but i want only file field to be reset. what are the security restriction for resetting a file field.