Hai all,
I have a problem in validating in the child window.I am opening a child
window from the parent and using javascript i am placing some contents in the
window.If i include some script in the child window i am not able to validate
in netscape.
So i am using window.opener. object to validate.
In this i am facing one more problem.
From the main window i can open more than one window.
Problem is for example if i have one check box and in the javascript if i
want
to check whther it is checked or not it is giving true when i check the
second
window check box.
See this is my code
function Op()
{
var pCarry = "Check"
var txt = '\n' +
'\n' +
'' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
' \n' +
' \n' +
pCary +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
pAdPr +
'\n' +
'ON\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n'
}
funcion Ch()
{
alert(newWindow.document.frm.PrecOn.checked)
}
I have one doubt while opening a window can we able to set a number to the
window.If possible i can able to get the values easily
Please help me to solve this.