support for trigerring and hadling HTML events