| Author |
why the window doesn't close and bring the item to the main form?
|
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
|
|
Hi there, the javascript function below is taken from struts-layout. a new window is opened with a list of items, the end-user chooses from the list (drop down box) and clicks SELECT. what it need to do is to select the item of the user and move it to the main form. for some reason the opened-window doesn't close! I tested it (with alert("point 1") any debugger?~) and realized that the problem is in this line: the complete function is: [ February 19, 2007: Message edited by: Bear Bibeault ]
|
 |
Ashish K Sharma
Ranch Hand
Joined: Aug 22, 2006
Posts: 31
|
|
Try
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
if it is a <input type="file" ..> you can not set its value. How are you opening this pop up from the parent? Eric
|
 |
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
|
|
thank you guys, Eric: "How are you opening this pop up from the parent?" the code below. thanks again
|
 |
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
|
|
oh... and the open/close is from open: close:
|
 |
 |
|
|
subject: why the window doesn't close and bring the item to the main form?
|
|
|