<script language="javascript">
<!--
Funktion formaction()
{
selectObj = document.getElementById("friendlink");
//Alarm();
if(selectObj.options[selectObj.selectedIndex].value!=''){
//alert(selectObj.options[selectObj.selectedIndex].value);
//window.open(selectObj.options[selectObj.selectedIndex].value);
document.getElementById("friendlinkform").action=selectObj.options[selectObj.selectedIndex].value;
friendlinkform.submit();
}
}
->
</script>
<form action="" target="_blank" id="friendlinkform" name="friendlinkform">
</form>
<select name="friendlink" onChange="javascript:formaction();">
<option>==友情链接==</option>
<option value=" http://code.knowsky.com"> <a href=" http://code.knowsky.com " target="_blank"> code.knowsky.com</a></option>
</select>
请将全角select替换为半角。