Ok, Try this, According to your question, add the id="mySelect" to each of the option values of the select options, so that the javascript gets the id for each of the options selected by the user.
Remove this function "
onchange="getSelectedValue();
" and use this put this as ur form action
function getSelectedValue() {
var mySelect= encodeURI(document.getElementById('mySelect').value);
.
Hope this is not confusing.
It has to work