Originariamente inviato da ciri_sn_solo_io
Ottimo, con document.getElementById funziona correttamente, anche mantenendo come ID un numero anzichè una stringa alfanumerica.

Grazie
Sinceramente ogni tanto mi vengono dei dubbi, perchè certi browser digeriscono anche le porcate più assurde. Comunque, da:
http://www.w3.org/TR/html401/types.html#type-name

leggo che:

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").