Skip to content

Instantly share code, notes, and snippets.

@vinzdef
Created October 17, 2014 07:18
Show Gist options
  • Save vinzdef/d4d3fbe4c93e043a563f to your computer and use it in GitHub Desktop.
Save vinzdef/d4d3fbe4c93e043a563f to your computer and use it in GitHub Desktop.
load SVG into body - jQuery ajax request
$(el).ajax('image.svg', {}, 'html', function (data) { $("body").append(data) });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment