Tim Trueman
← Home | Twitter | hi@timtrueman.com | Subscribe via RSS

Execute Javascript when you can’t

California | 8 months ago: Fri, 03 Jul 2009 14:03:19 -0700

This is a rather sneaky trick I picked up from a former co-worker and the best Javascript hacker I know, Jeremy. All credit goes to him.

This trick is for when an Ajax call grabs the response, blindly dumps it into the DOM and doesn’t allow for any Javascript to be executed from the response.

Clever, eh?

Tim Trueman is an engineer living in San Francisco. He commutes to the orbiting HQ of Fluther (using the Python antigravity library). He also hosts a podcast on amateur autonomous unmanned aircraft with Chris Anderson.