Ninguno de esos es el problema.
1. el bottom no es un submit, es un button.
2. podes probar esta funcion y funciona perfectamente.
Código:
<html>
<head>
<script language="javascript">
function existeArticulo() {
var art_a_buscar = document.getElementById('Articulo').value;
var mostrador = document.getElementById('mostrador');
var button = document.getElementById('buscar__');
button.disabled = true;
if(document.getElementById(art_a_buscar) == undefined) {
var articuloId = document.createElement('div');
articuloId.id = art_a_buscar;
articuloId.innerHTML = 'primera vez que buscas: '+art_a_buscar;
mostrador.appendChild(articuloId);
button.disabled = false;
}
else {
var articuloId = document.getElementById(art_a_buscar);
articuloId.innerHTML = 'Segunda vez o mas que buscas: '+art_a_buscar;
button.disabled = false;
}
}
</script>
</head>
<body>
<input type="text" id="Articulo" value=""><input type="button" value="verifica" onclick="existeArticulo()" id="buscar__">
<div id="mostrador"></div>
</body>
</html>
y si se fijan, uso
if(document.getElementById(art_a_buscar) == undefined) y trabaja perfectamente