I have a CGI script that among other things provides a button for the user to select a filename for inclusion into a database field. As the field can actually have more than one filename we use the following three lines of code:
print "<input type=file name=\"cn_$att->{NAME}\" style=\"display: none;\">"; print "<TD><TEXTAREA type=text name=\"db_$att->{NAME}\" COLS=\"72\" ROWS=\"4\"></TEXTAREA>\n"; print "<input type=button onClick='cn_$att->{NAME}.disabled=false;cn_$att->{NAME}.click();db_$att->{NA ME}.value=db_$att->{NAME}.value + cn_$att->{NAME}.value + \"\\n\";cn_$att->{NAME}.disabled=true' value=\"Select a File...\"></TD></TR>\n"; When the script is used via IE, a window pops up to allow the user to choose a file, then when OK is clicked a new line is appended and if the user wants he can then select another file by clicking the button again. However when used via Firefox, no window appears, but a new line is added to the field after each click of the button. How can I get the IE behaviour to occur when a user has Firefox? Peter -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>