Skip to content

Instantly share code, notes, and snippets.

@georules
Last active March 7, 2016 21:02
Show Gist options
  • Save georules/7c171c34c70b92ac98c4 to your computer and use it in GitHub Desktop.
Save georules/7c171c34c70b92ac98c4 to your computer and use it in GitHub Desktop.
$(".value").load("", "", function(d) {
var data = "data:image/jpg;base64," + $(".value").innerHTML
$("img").attr("src", data)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment