[html] value w <input type="file">

0

Witam,
czy istnieje parametr value w <input type="file">? bo z tego co w dokumentacji wyczytalem to istnieje, ale mi to nie "dziala" :/

0

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 :)

0
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ą... :)

0

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".

0

czyli teoria co innego a praktyka tez?

0

niestety :( z jednej strony to dobrze ale mysle ze na pewno jest na to jakis sposob.

1 użytkowników online, w tym zalogowanych: 0, gości: 1