I am doing a validation that checks whether a value other than Please Select...
Net where Drop Down is either bind with Sql Data Source or list Items.
We need to check if it is equal to null or “” because different browsers act differently so its better to check for both the conditions.
I am firing the validation function in the onchange of the drop down event and if the value is Please Select..., I am displaying a message in the label control. The code is working fine and when I have the please select value in dropdown its showing me the message in the label.
However when I select a value in the drop down that label message is still showing the error and is not getting closed.
An HTML combobox shows a dropdown list of items from which one item is selected.
By default the caption for that list is the first item.