function pwd_onchange() {
var fieldTable1 = Xrm.Page.getAttribute( “new_password”).getValue();
fieldTable1.innerHTML = ‘<input tabIndex=”1050″ class=”ms-crm-Text” id=”new_password” style=”ime-mode: auto;” type=”password” maxLength=”100″ _events=”[object Object]” control=”[object Object]” attrName=”new_password” req=”0″/>’;
Xrm.Page.getAttribute(“new_password” ).setValue(Xrm.Page.getAttribute(“new_password”).innerHTML);
}
SOURCE : JUST2CODE.IN
Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012