click event added the other ajax function