title: Javascript to call a javascript from another website
body: <p>There are 2 websites. Mine and a clients. The client needs to be able to invoke a JS that calls my JS which returns something back to the client. When i get the call from the client i need to verify their account info as well. So i've been asked to create the API for these 2 functions and i'm pretty new to web development. Any help is much appreciated. Thanks.</p>