ggCHG: use dom element to implement