I would like to contribute how I used this discussion:
My goal was to change the popup window address upon an action in a webpage that was being generated by PHP interpreter:
I changed the code of the function like this:
And I change the lines of html document like this:
document.links["varlink"].href = objS.href; //options[objS.selectedIndex]
Sorry if it is confusing. I could not paste the rest of the code.
<a name="varlink" ... >
; update(this); return false;"