javascript – Animation while loading a frame with jQuery

I want to show an animation for a few seconds and then upload an iframe.

Animation

Function where the iframe is



$ (& # 39; # ok & # 39;). click on (function () { var url = & # 39; & # 39 ;; document.getElementById ("insertIframe"). innerHTML = ""; })

How can I do it?