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