Cors/Corb & Jquery

Google has failed me. Does anyone have a good reference on getting vanilla javascript or jquery to talk to a PHP site?

For background:

  • All on the same domain, same server but on multiple subdomains
  • Subdomains A, B, C serve public content
  • Subdomain D holds the admin system
  • Subdomain Z holds files including javascript, css, images used by all other subdomains

  • Subdomain A wants to get some autocomplete json from Subdomain D

Instead, I'm just…

Cors/Corb & Jquery