I have a DOM element in memory that is yet to be injected in the page DOM. I want to lookup an element by id inside this DOM element but document.getElementById wont work as the element is not yet in the page DOM.
Any ideas on how to do this?
P.S.
- I know one approach is to use element.querySelector() but since IE7 doesnt support it, I can't.
- Not using Jquery