change onclik with event