Forum Home
Press F1
 
Thread ID: 54702 2005-02-19 23:38:00 JavaScript Question CreightonBrown (5692) Press F1
Post ID Timestamp Content User
326547 2005-02-19 23:38:00 Hey i am building a Filemanager Similar to OS Commerce's for a reusable database code generator when it reaches the client side: It's supposed to pop open a file manager where people can administer their files and put one into a Database field.... i have a question though: how can i return via an onclick the FIlename/URL back to a txtfield in the previous window? parent.document.form[pcForm].elements[pcField].value isn't working CreightonBrown (5692)
326548 2005-02-20 01:08:00 Don't worry solved it.... 50? google matches later

<script language="javascript">
function DBFFV(pcWindow,pcForm,pcField,pcValue) {
opener.document.forms[pcForm].elements[pcField].value= pcValue
}
</script>
CreightonBrown (5692)
1