Your question is "Accesing dropdown in js file"
the js file is server side.
Also, this was spelled out in the other post...