Here’s the problem. i’ve a base64 image string which is dynamically retrieved from database via ajax.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvsAAAJECAYAAACIHevuAAAgAElEQVR4nO3d
after retrieving the string i want to set it as the background image of a div
<div id="dragBox"></div>
try:
basically, you just put the base64 inside
url().more information:“Data URI scheme” Wiki