I am currently utilizing the AjaxControlToolkit's TextBoxWatermark feature with an asp.net TextBox to display placeholder text when the box is empty.
However, I have encountered an issue where on the client click of a specific button, I need to check if the textbox is empty. The JavaScript code:
document.getElementById(fieldName).value == ""
is failing to work as intended due to the Watermark extender causing the code to incorrectly believe the field is not empty.
Are there any solutions or workarounds available for this problem?