var input = createElement('input'); input.setAttribute('type', 'placeholder'); if(input.type == 'placeholder')