Any idea for loading animation workaround?

Any idea for loading animation workaround?

On my application i have page with ZML <image>  which has attribute action='Function'.
when the image (icon) pressed a function get called and sometimes the function takes some time (API Calls). 

For making a reasonable UX i would like to show a sign to the user that something is happening behind the scenes. loading animation can be great but a i don't find a way to do it.

did anyone solved this before? 

Thanks


          Zoho TeamInbox Resources

            Zoho DataPrep Resources


                Zoho CRM Plus Resources

                  Zoho Books Resources


                    Zoho Subscriptions Resources

                      Zoho Desk Resources

                        Zoho Projects Resources


                          Zoho Sprints Resources


                            Zoho Orchestly Resources


                              Zoho Creator Resources


                                Zoho WorkDrive Resources




                                    Zoho Campaigns Resources

                                      Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

                                                        Writer is a powerful online word processor, designed for collaborative work.

                                                                  有料プランをご利用の方