Skip to content

Instantly share code, notes, and snippets.

@mjhea0 mjhea0/ajax.js Secret
Created Oct 19, 2013

What would you like to do?
if (!body.query.results.RDF.item['about'] === false) {
craig = "No results found. Try again.";
} else {
results = body.query.results.RDF.item[0]['about']
craig = '<a href ="'+results+'">'+results+'</a>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.