I\'m using Google Ajax API and they suggest I use google.setOnLoadCallback() to do various things related to their API but I\'m using also jQuery\'s $(doc
google.setOnLoadCallback()
$(doc
Why mix when you can do it all with $(document).ready()? Just get rid of the google.setOnLoadCallback function and use jQuery's $(document).ready().
$(document).ready()
google.setOnLoadCallback
This:
google.setOnLoadCallback(chartEnrollment);
becomes
$(document).ready(chartEnrollment);