<SCRIPT language=javascript>
function FindDefinitionInList(objSelectBox)
{
//This function is launched when the user types a letter in the UserSelection
//text box. The function finds the user's string in the DefinitionSelect
//Select box
var strSearchString, lngLenSearchString;
strSearchString = UserSelection.value;
lngLenSearchString = strSearchString.length;
for (i=0;i<objSelectBox.length;i++)
{
if (objSelectBox[i].text.substr(0,lngLenSearchString) == strSearchString)
{
objSelectBox.options[i].selected = true
check();
break;
}
}
}
function check()
{
var comb = document.getElementById("selTypsList");
document.location.href='CP?id='+comb.options[comb.selectedIndex].text;
}
</SCRIPT>
וזה הקוד של התיבת סלקט שלי...:
<SELECT dir=rtl onChange="check();" id=selTypsList size=5 style="FONT-FAMILY: Arial; WIDTH: 887; height:189; color:#FFFFFF; background-color:#16366C" name="selTypsList">
איך שזה יפנה אותי לדף
CP.asp?id=<%=rs("id
תודה לכל העוזרים