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:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.