I have a label that is sometimes empty. How do I set up a conditional statement on the client side to test this?
i have
var label = document.getElementByID("<%=label1.ClientID %>").innerHTMl;
to get the text, but i can't seem to figure out an if..else statment if it is empty or not. label.length == 0; label == null, etc don't seem to work. any help?