inDOM handler