Advertisement
Guest User

Untitled

a guest
Dec 1st, 2011
227
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.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement