fire text and attr liteners