I have a selection list:
<select class="inputbox" onchange="document.location.replace(this.value);" >
<option dir="ltr" value="/nl" >Nederlands (NL)</option>
<option dir="ltr" value="/de" >Deutsch (DE)</option>
<option dir="ltr" value="/en/orange" selected="selected">English (UK)</option>
</select>
And I need the the content from this span...
<dd class="category-name">Category: <span itemprop="genre">Orange</span></dd>
to be added (including slash) to all values except the selected one. So that the result will be:
<select class="inputbox" onchange="document.location.replace(this.value);" >
<option dir="ltr" value="/nl/orange" >Nederlands (NL)</option>
<option dir="ltr" value="/de/orange" >Deutsch (DE)</option>
<option dir="ltr" value="/en/orange" selected="selected">English (UK)</option>
</select>
/nland/de?