I'm creating a plugin that has some external Javascript and some AJAX calls ... but I don't know the best way to make reference to the admin-ajax.php
file since the path requires some input from PHP (paths and such).
Should I declare a global javascript variable?
What is the best way to accomplish this?