Just getting the value wasn't enough: I needed to have it return a non-null value regardless of what selectId was passed in. If I call the function and nothing is selected, it will return a zero. If I call the function with an invalid selectId value, the function still returns a zero. It's not much, but as a Database guy, I'm always watchful of null evaulation.
document.getElementById('youselectboxid').value
this will also return the value of the select box's value
Regards,
Kumar S
GuyFromChennai.com