Hi All,
Am using Jdev 12c.
am try to implement the technique of show and hide the value of the password of the password filed on clicking on image or link icon i tried to do it using java script but it not working it tried to change the inputtext type and tried to change the secret property but i got nothing i use those functions
function changeInputText(evt) {
var iText = document.getElementById('it1');
var value = iText.value;
if (iText.type == 'password') {
iText.type = 'text';
}
else {
iText.type = 'password';
}
iText.value = value;
}
function changeInputText(evt) {
var iText = AdfPage.PAGE.findComponentByName('it1');
iText.setProperty("secret", false);
}
can any one provide help with the solution Please or provide me with a better solution.
Thanks in advance.