Se ho interpretato bene ...

codice:
onchange = "this.parentNode.action = this.value; this.parentNode.submit()"