Created
February 14, 2012 22:20
-
-
Save westonwatson/1831022 to your computer and use it in GitHub Desktop.
javascript method to grab_leads for resellers
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
<script language="javascript" type="text/javascript"> | |
jQuery.noConflict(); | |
function fill_leads(reseller_id){ | |
jQuery.getJSON('/resellers/grab_leads/' + reseller_id, function(data) { | |
jQuery.each(data, function(key, val) { | |
jQuery('#service_leads_' + reseller_id + '_' + key).html(val); | |
}); | |
}); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment