<html xmlns="http://www.w3.org/1999/xhtml"> <head> <script><![CDATA[ function init() { var select = document.getElementsByTagName("select")[0]; select.remove(); } window.addEventListener("load", init); ]]></script> </head> <body><select><input/></select></body> </html>