daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.  
  3.     <body>
  4.  
  5.         <script>
  6.            
  7.  
  8.             var el = document.createElement('div');
  9.             el.innerHTML = '<span>>></span><div>remove me</div><span><<</span>';
  10.        
  11.             var div = el.getElementsByTagName('div')[0];
  12.             el.removeChild(div);
  13.        
  14.             document.body.innerHTML = el.innerHTML;
  15.        
  16.         </script>
  17.  
  18.     </body>
  19.  
  20. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top