/**
*  <form>
*  <input type=”text” name=”password” value=”Password” onfocus=”get_password_focus(this)”>
*  </form>
*  This function can be used for focus password element from password to ********
*/

function password_focus(obj)
{
var newO=document.createElement(‘input’);
newO.setAttribute(‘type’,’password’);
newO.setAttribute(‘name’,obj.getAttribute(‘name’));
obj.parentNode.replaceChild(newO,obj);
newO.focus();
}

3 Responses to focus password element from password to ********

  1. Anonymous says:

    I’ve recently started a blog, the information you provide on this internet site has helped me tremendously. We appreciate you your time & work…

  2. Anonymous says:

    I seriously loved this post. You describe this topic perfectly. When hiring home contractors it is critical for pick a trusted name in construction. Experienced and efficient staff should strive for excellence and absorb every detail of your home.

  3. Anonymous says:

    Intriguing article. I am aware I’m just a little late in posting my comment though the article ended up being to the and the details I used to be in search of. I can’t say that I agree with everything you could mentioned but it really was emphatically fascinating! BTW…I found your site by having a Google search. I’m a frequent visitor on your blog and will return again soon.

Leave a Reply