to add items in listbox(lb)
------->
var newOption = document.createElement("option");
newOption.text = "abc";
newOption.value ="xyz";
document.getElementById('lb').options.add(newOptio n)<----------
to delete items from listbox........
document.getElementById('lb').remove(i);
put these lines in a loop and match the word entered in ur txtbox with ur array and fill the listbox
----------------------
Thank
[email protected]