It depends on the method you are using to open the new window window.open or window.showModalDialog ??
On Mon, Sep 21, 2009 at 7:30 PM, himanshu kaushik < [email protected]> wrote: > sory cerebrus a is value i m passing from child page to parent page > and function is in parent page is like > func(rvalue) > { > document.getelemntbyid("txtbox").innerhtml=rvalue > } > so a for rvlaue in this > > > On 9/21/09, Cerebrus <[email protected]> wrote: >> >> >> You forgot to tell us what "a" is. >> >> On Sep 20, 8:08 pm, himanshu <[email protected]> wrote: >> > i m using popup a javascript function in parent for child page.it work >> > fine but i want to pas some value from child page to parent >> > and my code is in child page >> > >> > on page load of child >> > button.attributes.add("onclick",javascript:window.opener.func('"+a >> > +"');window.close();"); >> > >> > but it doesnt work. >> > any buddy can help me plz so i can send data from child to parent page > > >
