- From: Joris Huizer <joris_huizer@yahoo.com>
- Date: Tue, 3 Jun 2003 03:57:39 -0700 (PDT)
- To: vishnupriya <vishnumn@sakinfotech.co.in>, www-html@w3.org
HTML401 says this: typr="file" Creates a file select control. User agents may use the value of the value attribute as the initial file name. Note the word 'may': it's allowed to do this, but it's not required. Most browsers decided not to allow a default value: they thought it might be a security risk as private/secret info could be posted without you knowing (I don't know how one could do that without CSS, but now that there is CSS the problem is realistic In short, no, you can't get have a default value in most browsers, including IE --- vishnupriya <vishnumn@sakinfotech.co.in> wrote: > Hi , > here i am trying to display default value for an > input file type. > My code is > <form name="gesimg" action="gesimg.asp" > method="post" enctype="multipart/form-data"> > <input type="file" name="f" value=""/> > <input > type="submit" > value="" > /> > </form> > but this code is not working can anyone help . > I need to display the value by default path in the > file type. > Thanks in advance and I am using IE5.5 . > __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com
Received on Tuesday, 3 June 2003 06:57:40 UTC