Coming from a jquery background, I would expect this to work:
var container = x$('#container');
var containee = container.find('#containee');
Instead, you end up with context.getElementById is not a function
A quick fix would be to check to see if context has a getElementById function and if not, force a call from document instead of context.
Coming from a jquery background, I would expect this to work: var container = x$('#container'); var containee = container.find('#containee'); Instead, you end up with context.getElementById is not a function
A quick fix would be to check to see if context has a getElementById function and if not, force a call from document instead of context.