How to pass value a "window.location"?

good afternoon

I do not speak much English, but expect your help.

I have this code:

I need to pass value this combobox, in the line “window.location=links[1];” for this conserve selected in “id=area”

Thank’s for your time…

The provided code looks correct.

But we do not completely understand the issue.

Could you please provide more details about it ?