Published: Jan 27 2014 / 23:12
Another approach would be to add a SCRIPT tag and load its content using JSONP (in this case using the "callback" function). That reopens all the cans of security worms, but works even on browsers that don't support CORS.
Despite what the text says, it's apparently not possible to post code in comments. #fail
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Advertising - Terms of Service - Privacy - © 1997-2014, DZone, Inc.