...

View Full Version : Pass the Checked Items from Pop Up to Parent window



carrera
04-03-2003, 08:12 AM
When pop-up window is clicked, the user can check the the checkboxes. The values of the selected items will be passed through the parent window. And pop-up window closes instantly. Example is the address book of Yahoo site checking the addresses and automatically goes to the parent window.

MAXX
04-03-2003, 08:21 AM
heya carrera :)

looks like we have same problem:
will check the address book of Yahoo site to see what is look like

maxx

MAXX
04-07-2003, 03:13 PM
heya

if you read my problem, than you see that I had similar problem like you. Here is my solution that work fine for me, and should be also fine for you.
... for more info read my posts :)

maxx

-----------------------------------------
<script language="JavaScript">
function getValues(f)
{
var el,e=0,i,cnt, newItem='';
f=document.frmChk;
while(el=f.elements[e++])
{
if(el.type=='checkbox' || el.type=='radio')
{
if(el.checked)
{
cnt=[el.value];
var i = 0;
while(el=cnt[i++])
newItem = newItem + el +';';
}
}
}
window.opener.document.VNOS.MO.value = newItem;
window.close();
}
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum