Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 30th, 2013  |  syntax: None  |  size: 0.32 KB  |  hits: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. link = "http://www.google.com";
  2. doc.querySelectorAll('#courses_menu > ul > li > a'); // Apply on the link.
  3.        
  4. <iframe id="holder" style="display: none">
  5.  
  6. <script type="text/javascript">
  7. $("#holder").load("http://www.google.com",function () {
  8.   $link = $("#holder").contents().find("#courses_menu > ul > li > a");
  9. });
  10. </script>