Selecting an option from another window

User needs to pick a single asset from a list of assets shown via a
popup window. ATM the popup view is just a simple index/list view of
asset resources. Right now the user can manually enter an asset
identifier after finding the desired asset in the popup.

I’m interested in allowing the user to select the requested option by
double clicking it. I would appreciate any suggestions on how to
handle this.

I’d also like to close the window when done. Is this possible if the
popup opens as a separate tab in FF?

TIA,

Sean

On 5/20/08, schof [email protected] wrote:

User needs to pick a single asset from a list of assets shown via a
popup window. ATM the popup view is just a simple index/list view of
asset resources. Right now the user can manually enter an asset
identifier after finding the desired asset in the popup.

I’m interested in allowing the user to select the requested option by
double clicking it. I would appreciate any suggestions on how to
handle this.

Have a look at Javascript’s window.opener. That’s your path back to
the window that opened the popup. Use that to access the dom of the
opener.


Greg D.
http://destiney.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs