hi all
this is my first query plz help me,
i have one page which hv two ifrmaes,parent iframe contains no of child ifrmae.now oncliking child iframe check box ,i hv to get that value into parent iframe,i managed to create array of parent iframe but can't get child ifrmae's control,
plz help me

i used like this

document.getelementbyid("iframeparent1).document.getelementsbyname("Check1")

but it doesn't work

Recommended Answers

All 2 Replies

Is the missing quote is just a typo in this question. that would cause failure

you can pass a function from i-frame and define it in the parent page as
//in the i-frame page
parent.frames.test(values,values,values....);
//parent page
test(values,values,....)
{
//now use the values
}

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.