change onclick detail event