no, non funziona. La console di firefox mi da come avviso:
Una stringa vuota è stata passata a getElementById().