Witam,
czy istnieje parametr value w <input type="file">? bo z tego co w dokumentacji wyczytalem to istnieje, ale mi to nie "dziala" :/
to masz zla dokumentacje jak pisal na forum jakis madrzejszy opde mnie powiedzial
ze gdyby byla mozliwa wartsoc value to w polu takim po wejsci una strone moglbys sciagac z gory okreslony plik :) wiec jesli myslsiz ze zwojujesz swiat nowy wirusem to sie mylisz hihi :)
niuuch napisał(a)
to masz zla dokumentacje
I tu się mylisz: http://www.w3.org/TR/html4/interact/forms.html#edef-INPUT.
Cytat:
type="file": Creates a file select control. User agents may use the value of the value attribute as the initial file name.
Mogą, ale nie muszą... :)
i to ma byc ta rewelacja ?
value = cdata [CA]
This attribute specifies the initial value of the control. It is optional except when the type attribute has the value "radio" or "checkbox".
czyli teoria co innego a praktyka tez?
niestety :( z jednej strony to dobrze ale mysle ze na pewno jest na to jakis sposob.