server call on event click