Results 1 to 5 of 5
- 01-10-2010, 05:03 AM #1
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
Need to pass a value from a parent window to a pop up or child window
Hi All,
I need to pass the counter timer value to the pup up window or child window from a java script. but i think reference is a problem here .
childWindow is a pop up window which is opened from a parent window using window.open.. Now i have calculation part where the remaining time starts decreases from 10 to 1. I need to populate this value to a child window/pop up window.
in childWindow i have textbox with id ='remSeconds'. i have used the below and tried out many scenarios where i cant populate the child window with the remainingTime.
Please help me on this..
I have written this in a seperate JS its not in the childwindow..
childWindow.document.getElementById('remSeconds'). value = remainingTime;
-
What GUI library are you using? Swing? AWT? SWT? Or is this not a Java program but rather a JavaScript program? Our answers will depend on these details.
-
Hm, I guess you didn't feel the need to answer my questions...
Regardless, I have a sneaking suspicion that you're wanting a javascript solution here, especially with "window.open" type method. If so, then you're best bet is to seek out a javascript forum to ask this question in. This is a java forum.
- 01-10-2010, 07:47 AM #4
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
hmm that isnt true if i had to travel..
- 01-10-2010, 07:48 AM #5
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
Similar Threads
-
change url in parent window from child window
By rakesh_n_mehta in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 07-09-2009, 12:17 PM -
[SOLVED] How to pass information from child class to parent class
By pellebye in forum New To JavaReplies: 7Last Post: 05-06-2009, 12:42 PM -
Parent & Child window issues......
By jithan in forum New To JavaReplies: 2Last Post: 09-20-2008, 09:21 AM -
disable parent window
By ismailsaleh in forum AWT / SwingReplies: 1Last Post: 01-07-2008, 11:15 PM -
How to create a new pop up window from jsp without changing the URL address of parent
By nihar1213 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-03-2007, 04:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks