Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Problem in Windows Object


Message #1 by "Udhayakumar. U" <udhayakumar@i...> on Wed, 22 Jan 2003 10:30:08 +0530
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.

  Return to Index