accept dom element for query