fredy: Verweisliste als Auswahlliste - innerhalb des Dokuments

Beitrag lesen

Hi!

Ich hab dieses Problem auf folgende Art gelöst:

Die JS-Funktion:

function GO() {
  var i = document.frm.sel.options.selectedIndex
  hash = parent.frames['suche'].document.frm.sel.options[i].value;  
  this.location.hash = hash;
}

HTML Select:

<FORM name="frm">
<SELECT name='sel' onChange="GO();">
<OPTION Value="Ring 12">Name
:
:
</FORM>

Was mir Sorgen macht ist das Leerzeichen in "Ring 12". Laß es mich bitte wissen obs klappt.

Grüße
fredy