Is it possible in js to refer to an element by the following construction: document.getElementById(id1 or id2 or id3) that is, when addressing to indicate that you need to take one of these elements if it exists. Tell me, if so, what syntax will be correct or is there an alternative to such a query?
|
,- Grundy