Mark,
had to do the following:

function getDetail()
{
var i;
var str;
var selectIndex = document.formDelivery.delivery.selectedIndex;
var selectedItem = document.formDelivery.delivery.options[selectIndex].value


i.e. I had to get the index of the selected item and then use it in the options property.


Lenin