thanks but where i should cal this func

On 9/23/09, Raghupathi Kamuni <[email protected]> wrote:
>
> Write the function in child page to set the parent field values
>
>   function jsSetParentFields(value)
>   {
>         window.opener.document.getElementById("txtbox").value = value;
>   }
>
> Read this...."Accessing parent window from child window or vice versa
> using JavaScript"
>
> http://www.codeproject.com/KB/scripting/share_parent_childorpopup.aspx?fid=1234178&df=90&mpp=25&noise=3&sort=Position&view=Quick
>
>
> On Tue, Sep 22, 2009 at 8:04 PM, himanshu kaushik <
> [email protected]> wrote:
>
>> how. i m using window.open
>>
>>
>> On 9/22/09, Raghupathi Kamuni <[email protected]> wrote:
>>>
>>> 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.itwork
>>>>> > 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
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Reply via email to