how to change textbox textmode using jquery
<p>i have a login component and within it the password field has a textmode of singlline </p>

<p>what i am trying to do is on focus the textmode will change to password</p>

<p>i tried this :</p>

<pre><code>$(function () {
   $(".PassTextBox").focus(function (pas) {
       $(".PassTextBox").attr("TextMode", "Password");
   });
});
</code></pre>

<p>but it didn't work</p>

<p>using asp.net 3.5 , thanks</p>
