AJACSS

In: Development| JavaScript

8 Oct 2009

This is just a very quick post to talk about AJACSS – a bit of a hack, but a nice way to be able to cross-site AJAX.

Here’s how to do it

“Like JavaScript includes, this works because CSS is not subject to the same-origin policy that affects XMLHttpRequest. CSSHttpRequest functions similarly to JSONP, and is limited to making GET requests. Unlike JSONP, untrusted third-party JavaScript cannot execute in the context of the calling page.”

  • Facebook
  • Twitter
  • Share/Bookmark

Comment Form

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

About this blog

The ramblings of Jon Reed. I am a Lead Developer at a leading UK Online Marketing Agency. Everyday I work with various technologies such as PHP, MySql, CSS, XHTML. I Love Web Development.

  • dilapper: So, using this ISO year, would you have fallen foul of the same bug they had, where (I believe) it t [...]
  • r5d4: Nice, but i'm afraid it's a samsung series 7 for me :) [...]
  • Chris Sedlmayr: Same here. It looks like users invited by the lucky few are getting it as they increase capacity ove [...]
  • Buddhamagnet: Still waiting for my invite Jon but as soon as I do it's collaboration city! [...]