event click js function, the function is used to show user the right information for each and every single field