Remove .swf from HTML once played by remove the tag - Javascript jQuery Method and Property

Javascript examples for jQuery Method and Property:html

Description

Remove .swf from HTML once played by remove the tag

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.4.js"></script> 
  <script type="text/javascript">
    $(window).load(function(){/*from  w ww.j av a2 s .  co m*/
        setTimeout(function(){
            $("#mydiv").html("");
        }
        ,4000);
    });

      </script> 
 </head> 
 <body> 
  <div id="mydiv"> 
   <!--Your flash object goes here --> Hello 
  </div>  
 </body>
</html>

Related Tutorials