Monday, December 7, 2009

How To Pass values from iframe to Controls In parent Document


if(parent.document.Yourformname.YOurfieldname != null){

    parent.document.Yourformname.YourfieldId.value = SetYourValue;
}

For Div Content

if(parent.document.all["DIVName"] != null){

    parent.document.all["YourDIVName"].innerHTML =  SetYourValue;
}

No comments: