At 08:31 PM 2/28/2002, you wrote: >I think it has something to do with the security in the browsers.
Yea I think it's to stop you from silently uploading files from the user's machine.. eg onLoad = document.forms[0].fileField.value = 'C:\SomeSecretStuff.txt'; document.forms[0].submit() a real PITA though. >I did a search on it, and found several discussion boards with people >asking about that. >They wanted to use an image though instead of a button to do what you >are wanting to do. >But noone can get it to work, they get access denied. >http://www.siteexperts.com/forums/viewConverse.asp?d_id=7741&Sort=0 Yeah that's more or less what I want to do. Looks like I'm outa luck. >The only way I was able to get it to semi-work was to set the width of >the file field to 80, so it sort of hides the text part, and click on >the browse button. > ><form action="somepage.cfm" enctype="multipart/form-data" method="post"> > ><INPUT TYPE="FILE" name="Foo" onchange="document.forms[0].submit()" >style="width:80px"> > ></form> I hadn't thought of that. James Sleeman Innovative Media Ltd Phone: (03) 377 6262 http://www.websolutions.co.nz/ CAUTION: The information contained in this email message is confidential and may be legally privileged. If the reader of this message is not the intended recipient you are notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immediately and destroy the original message and any attachments. Views expressed in this communication may not be those of Innovative Media Ltd. ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

