PRAVDA
Tvrdenie je pravdivé
100%istota
Overované tvrdenie
„document.getElementById('loginForm')“
Zdôvodnenie
document.getElementById('loginForm') je platná JavaScriptová syntaxia. Metóda getElementById() oficiálne existuje a je dostupná na objekte Document od roku 1998. Vracia Element objekt s daným ID alebo null, ak element neexistuje. Tvrdenie vyjadruje korektnu syntaxu.
„The getElementById() method of the Document interface returns an Element object representing the element whose id property matches the specified string. This feature is well established and works across many devices and browser versions.“
Zdroje (7)
Overené 22. 7. 2026