Menu
Can a value be dynamically placed into a file input box after clicking on a check box? ….something like this:
[CODE]
function FillInFileName()
{
if (document.form1.NoPicture.checked == 1)
{
document.form1.file1.value== “C:Documents and SettingsFOLDERDesktopNoPic.jpg”;
}
}
<input type=”file” name=”file1″ size=25%> ‘Place value into the FILE TEXT BOX
‘after clicking on the checkbox
<input type=”checkbox” name=”NoPicture” onclick=”FillInFileName()”>