/src/main/java/org/htmlunit/html/HtmlInput.java
if ( client.isJavaScriptEngineEnabled ( ) ) { final HTMLInputElement scriptable = getScriptableObject ( ) ; setScriptableObject ( null ) ; scriptable.setDomNode ( newInput, true ) ; }
newInput.adjustValueAfterTypeChange(this, browser); } if (getParentNode() != null) { getParentNode().replaceChild(newInput, this); } final WebClient client = page.getWebClient(); <extra_id_0> return newInput; } super.setAttributeNS(null, TYPE_ATTRIBUTE, newType, true, true); } return this; }