Created
November 17, 2012 21:44
-
-
Save whoeverest/4100523 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
// console.log($(document).find('div#mw-content-text a')); | |
// $.get("http://en.wikipedia.org/wiki/Kassina_kuvangensis", function(data){ | |
// description = $(data).find('div#mw-content-text p')[0]; | |
// console.log($(description).text()); | |
// }) | |
$("div#mw-content-text a").mouseover(function(){ | |
function desc(data) { | |
} | |
$.get(this.href, function(data){ | |
var description_html = $(data).find('div#mw-content-text p')[0]; | |
desc = $(description_html).text(); | |
}) | |
this.title = desc; | |
}); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment