i need to know if any item from a list box has been selected. how can i do that.
the problem is that when i use this code:
wwid = document.CustomerSearch.elements.lstResults.value;
if the user has not selected any item from the listbox, it is giving me an error.
the problem is that when i use this code:
wwid = document.CustomerSearch.elements.lstResults.value;
if the user has not selected any item from the listbox, it is giving me an error.