I have some JavaScript which selects items from a listbox when a button is clicked. However, there could be times when there are not items at all in the listbox. How do I determine this so that the full JavaScript does not run if there are no items in the listbox?
Currently I have the following...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.