SHARE
TWEET

Untitled

a guest Dec 1st, 2011 147 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. $.ajax({
  3.         url: 'http://...',
  4.         success: function(data) {
  5.                 $('#target').html(data);
  6.         }
  7. });
  8. </script>
  9. <!-- In IE8, if data is the following -->
  10. <div>
  11.         <header>
  12.                 <h1>Something</h1>
  13.         </header>
  14.         <section>
  15.         </section>
  16. </div>
  17. <!-- #target gets filled with -->
  18. <div>
  19.         <h1>Something</h1>
  20.         </header/>
  21.         <section/>
  22. </div>
  23.  
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