Bcoloutlaw
06-02-2005, 11:13 PM
We set the "input type=text" with this:
htmlelement.value="ABCD"
We set the "input type = Checkbox" with this:
htmlelement.checked =true
We set the "Option" with this:
htmlelement.selected = true
How do we set the "input type=file"?
for example, we want to put the value "C:\windows\", How do we put it in htmlelement?
htmlelement.value="ABCD"
We set the "input type = Checkbox" with this:
htmlelement.checked =true
We set the "Option" with this:
htmlelement.selected = true
How do we set the "input type=file"?
for example, we want to put the value "C:\windows\", How do we put it in htmlelement?