View Single Post
Old March 7th, 2009, 03:52 AM
DineshGirij008 DineshGirij008 is offline
Registered User
Join Date: Jul 2008
Location: Thiruvananthapuram, Kerala, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Clear the filepath details of File Upload Control after saving a file

Hi guys,

I 'm using a file upload control to upload images. i want to clear the file path with in the upload control once the image is saved..

I have tried the following code to clear the upload control. Initially it worked..but the problem is that , the parent page seems to be underdoing some process even after it is fully loaded. It all happened after I inserted the following code for clearing the upload control..

document.getElementById('updFileSignature').outerH TML = "<input type='file' name='updFileSignature' id='updFileSignature'>";

please giv me some other alternative to clear the contol..

thanx in advance..