My JS stops functioning after I attempt to find out if a RadTextBox is empty.
01.<telerik:RadTextBox ID="rtbEmptyBox" runat="server" EmptyMessage="This box is empty." />02.<telerik:RadButton ID="rbtnDetermineIfEmpty" runat="server" Text="Determine if Empty" AutoPostBack="false" OnClientClicked="determineIfEmpty" />03. 04.function determineIfEmpty(sender, eventArgs) {05. var emptyBox = document.getElementById('<%=rtbEmptyBox.ClientID %>');06. 07. if (emptyBox.isEmpty()) {08. console.log('empty box is empty');09. }10. else {11. console.log('empty box is full');12. }13.}The JS stops at line 07 and won't proceed. Do I have the functionality of isEmpty() incorrect? I'm attempting to get the value of the text box, but when it is empty, it gives me the value of the EmptyMessage.
