hello Irn,
Thanks for your reply, on the devdex.com forum.
Actually, when I click on tbe browse button <input type=file name=bar>.
I would like the selected file name to be inseted in a text field which
is placed next to the button.
I tried using a onclick event but it gets fired before the dialog box is
displayed so i cannot retrieve the name
<input type =text name=mytext>
<input type=file name=bar onclick='fn_test()'>.
function fn_text()
{
var my_name = '';
document.form1.mytext.value = document.form1.bar.click();
}
Any Suggestions please.
Kind Regards,
Pai.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!