Accessing dropdown list from a popup
Posted on 2008-09-29
I have a dropdown select list on my page with a list of images. A user can either select one of these or choose to add a new one. If they add a new one, then a popup is loaded.
I have sorted everything in regards to adding the image, I just want the value to be passed back into the dropdown at the last step.
Currently the value is passed back and changes the background of a div to display the new image, I just can't seem to pass the value into the dropdown.
I'm using the following, it's the top one that doesn't work: