Thanks @matsjacobsson for your suggestion. But using a separate Ajax command ...