Try this code:
$(function(){_x000D_
setTimeout(function(){_x000D_
$('[name=user_password]').attr('type', 'password');_x000D_
}, 1000);_x000D_
});
_x000D_
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>_x000D_
<input name="user_password" type="password">
_x000D_