function toggle_password_change() {

  const p1 = document.getElementById('password22');

  const p2 = document.getElementById('newpassword22');

  const p3 = document.getElementById('confirmpassword22');

  const type = p1.getAttribute('type') === 'password' ? 'text' : 'password';

  p1.setAttribute('type', type);

  p2.setAttribute('type', type);

  p3.setAttribute('type', type);

  let btn_html='';

  if(type=='text') {

    btn_html +=text.hide_password;

  } else {

    btn_html +=text.show_password;

  }

  $('#cp_show_password').html(btn_html)

}