0
My question is the following: I have my HTML code and I am validating the fields with Javascript, but I would like to call the function and pass the value in Codebehind. Example String name = uname(my input);
It is possible ?
<!--Form de Login -->
<label><b>Usuario</b></label>
<input type="text" runat="server" placeholder="Nome de Usuario" name="uname" id ="uname" onkeydown ="return soLetra();" onkeyup="return AutoTabular(40, uname, psw);" onkeypress ="return LimiteMaximoTextArea(uname, 15)" onclick ="return AlterarCampo(uname);"/>
<label><b>Senha</b></label>
<input type="password" runat="server" placeholder="Senha" name="psw" id ="psw" onkeypress="return LimiteMaximoTextArea(psw, 8);"/>
<button type="submit" runat="server" onclick ="teste2()">Login</button>
</div>