Just start my page when I print the data table, in the password field what I print is ****** to hide the password, to show it I have the following:
I have a
@Ajax.ActionImage(@"~/Content/images/eye.png", "Mostrar Contraseña", "RequestPassword", "Credential", parameters, new AjaxOptions { UpdateTargetId = Model.ContainerName })
What I do not get is that with
input type=image src="~/Content/images/copy.png" class="btn" data-clipboard-text="@Model.Password" title="Copiar Contraseña"
script type="text/javascript"
new Clipboard('.btn');
script
What I want to do is that if I press the copy button I will copy the password but I can not get it because I copied the **** but if I give the password button and then the copy button copy.