Created
June 10, 2010 12:15
-
-
Save simonreed/432903 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var place_id = 'london'; | |
function loadData(place){ | |
// Show place details | |
} | |
var head = document.getElementsByTagName('head'); | |
var script = document.createElement('script'); | |
script.id = "nicetripper"; | |
script.src = 'http://www.nicetripper.com/api/places/' + place_id + '?access=b9b2e480192f74f2badd884160299c54&token=f013894cfa980f7fe7c692a03a72e6a4&callback=loadData'; | |
head[0].appendChild(script); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment