I have a Asp.net TextBox with TextMode="Password":
<asp:TextBox ID="txtAuthPwd" runat="server" TextMode="Password"/>
I need to get the value of this TextBox from the javascript
<script type="text/javascript">
function someFunc() {
var pwd = document.getElementById("<%=txtAuthPwd.ClientID%>").value;
}
</script>
But the value is always empty. Please help...