function createWindow(cWindName,nHeight,nWidth) { window.open("",cWindName,"height=" + nHeight + ",width=" + nWidth + ",top=35,left=35,toolbar=no,menubar=no,resizable=yes,scrollbars=yes") ; }The following fn is called from Command Button that returns selected value and closes the form.
function SelectPOValue(toPO) { loCurrentRow = toPO.parentNode.parentNode; window.opener.document.OpenOrder.txtPO.value = loCurrentRow.cells(0).firstChild.nodeValue; window.close(); }