i have a login component and within it the password field has a textmode of singlline
what i am trying to do is on focus the textmode will change to password
i tried this :
$(function () {
$(".PassTextBox").focus(function (pas) {
$(".PassTextBox").attr("TextMode", "Password");
});
});
but it didn't work
using asp.net 3.5 , thanks