Bind onclick event.