oggetto.style.backgroundColor = "green";
ma eviterei di dare un id "form" che č riservato