<!--Pon a tu select un atributo id="archivo"--> <select name="archivo" id="archivo" class="form" onChange="abrir_imagen(this)">