Copi was right; I was wrong. That’s how I began my apologetic email to the teammates at Covisint who had witnessed my conversation with Doug Copi, Covisint’s JavaScript expert. I owe the guy Mac n’ Cheese at the DBC, and this is how it happened:
loading-external-content-with-ajax-using-jquery-and-yql
The question was simple:
Does the plug-in create a script element within your document to make the cross-domain request to the YQL API? Or does it use an XHR?
Copi knew the answer all along. It’s JavaScript 201.
When we’re busy and overwhelmed by the many languages we have to be master of simultaneously, it’s easy to forget* the basics. This was a good lesson in more than one way.
* I do have this highlighted and bookmarked in my copy of JavaScript: The Definitive Guide, which I last upgraded in 2006. Even sillier, I have discussed same-origin with Copi several times in the past year while problem-solving for other projects.

