Hello
If you are designing a site that is intended only to run on Mozilla, Safari, or another non-Internet Explorer browser, the following code is sufficient to modify an input element's type:
<script>
document.getElementsByClassName('chk').type = 'text';
</script>
hope it works