$(document).ready(function() { // #login-box password field $(\'#password\').attr(\'type\', \'text\'); $(\'#passwo
heres a DOM solution
myInput=document.getElementById("myinput"); oldHtml=myInput.outerHTML; text=myInput.value; newHtml=oldHtml.replace("password","text"); myInput.outerHTML=newHtml; myInput=document.getElementById("myinput"); myInput.value=text;