• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why the window doesn't close and bring the item to the main form?

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you guys,

Eric: "How are you opening this pop up from the parent?"

the code below. thanks again

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh... and the open/close is from


open:



close:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic