var input = document.createElement('input');
input.setAttribute('type', 'text');