3 <title>Testing disabling file input
</title>
5 <script language=
"JavaScript" type=
"text/javascript">
7 function checkboxClicked(element
) {
9 document
.getElementById("file_input").disabled
= false;
11 document
.getElementById("file_input").disabled
= true;
20 <input name=
"attach_screenshot" type=
"checkbox" onClick=
"checkboxClicked(this);">
21 <b>Attach File
</b><br><br>
22 Select File:
23 <input id=
"file_input" name=
"thumbnail_file" type=
"file" disabled=
"true"><br>