click event in ready