yes ... i think this is correct ... document.getEle mentById('nodeI d') returns null when the element is not found
so you could also test (unless the DOM implementation is faulty)
Code:
var a = document.getElementById('VE10110INTEFT');
if (a === null) { /* … */ }
Leave a comment: