Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jQuery and changing the input field type

jQery
$('#myPasswordField').attr('type', 'text');

OR
javascript
document.getElementById('myPasswordField').type = 'text';
Source by electrictoolbox.com #
 
PREVIOUS NEXT
Tagged: #jQuery #changing #input #field #type
ADD COMMENT
Topic
Name
3+5 =