Risolto! Era una str...upidata, anzikè scrivere getElementById, scrivevo getElementByld :maLOL: