hi
I took the following code from w3schools java scripts examples
this works fine
my problem is when the list is displayed there are 3 names that starts with letter m
when i will press m then the word with m should be high lighted
when i press m and then i then the word with Mi should be displayed
not the one with i
i want to do something like MS word..there is menu in the top which selects style of words like times new roman ,tahoma etc….
here in that when we press t, it displays the first word with letter t in menu..
then if we press ti, it goes directly to the times…..
is there any way i can do that…..
is anybody have any idea abt it
thanks bye
code:
<html>
<head>
<script type=”text/javascript”>
function go()
{
window.location=document.getElementById(“menu”).value
}
</script>
</head>
<body>
<form>
<select id=”menu” onchange=”go()”>
<option>–Select a page–</option>
<option value=”http://www.w3schools.com”>W3Schools</option>
<option value=”http://www.microsoft.com”>Microsoft</option>
<option value=”http://www.altavista.com”>macrosoft</option>
<option
value=”http://www.altavista.com”>mpcrosoft</option>
</select>
</form>
</body>
</html>