tekgrl
asked on
Javascript Error: Cannot read property 'click' of undefined
I am getting the following Console Error:
Uncaught TypeError: Cannot read property 'click' of undefined
it is referencing the following javascript code:
Uncaught TypeError: Cannot read property 'click' of undefined
it is referencing the following javascript code:
function openChatWindow() {
document.getElementById("lpHeaderEngagement").childNodes[0].click();
}
does the element returned by document.getElementById("l pHeaderEng agement") have any child elements?
ASKER
No. No child elements.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.