Which control you need to place on the page to show loading image?



Which control you need to place on the page to show loading image?..

Answer / Ravi Dhawan

To display a loading image, you can use an HTML `<div>` or a custom-made `<img>` tag, and hide it initially using CSS (display: none). Then, when an AJAX request starts, you can change the `<div>`'s or `<img>`'s CSS property to display the loading image. Once the AJAX request is complete, you can hide the loading image again.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AJAX Interview Questions

What are the extender controls?

1 Answers  


What is advantage of ajax?

1 Answers  


How to control the duration of an Ajax request?

1 Answers  


How do we abort the current xmlhttprequest in ajax?

1 Answers  


What are the extender controls? : asp.net ajax

1 Answers  


What is the minimum version of php that needs to be running in order to use html_ajax?

1 Answers  


What are the common problems (errors) you get while implementing AJAX?

1 Answers   Hoch Technologies,


What are the benefits of ajax?

1 Answers  


What are the protocols used by Ajax?

1 Answers  


How do you know that an ajax request has completed?

1 Answers  


How was ajax killed?

1 Answers  


How many types of ready states in Ajax?

1 Answers  


Categories