Skip to content

Instantly share code, notes, and snippets.

@lbernstein
Created November 11, 2011 23:04
Show Gist options
  • Select an option

  • Save lbernstein/1359596 to your computer and use it in GitHub Desktop.

Select an option

Save lbernstein/1359596 to your computer and use it in GitHub Desktop.
<html>
<head>
<script type="text/javascript">
// Define some global variables and initialize to blank strings
var company_name = "", industry = "", revenue_range = "";
//Define the callback for Demandbase IP API
var demandbase_parse = function(company) {
if(company && company.company_name) {
company_name = company.company_name
industry = company.industry
revenue_range = company.revenue_range
// More company info available if desired...
}
}
</script>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment