Does anyone know how to reset an individual field in an HTML form, using Javascript? Obviously there's the reset() method which clears everything, but I have a series of file upload fields which I want users to be able to clear individually should they make a mistake, so far I can't find anything. I've tried using something like this:
document.myform.myfield.value = 0;
But this has no effect it seems.
Any ideas?
document.myform.myfield.value = 0;
But this has no effect it seems.
Any ideas?