skip to Main Content

Jquery ajax – div background image not changing reuploads

I have the following HTML page. <div class="profile-photo" id="profilephoto" style="background:url('data:image/png;base64,iVBORw0KGgoA') no-repeat 50% 50%;"></div> Using jQuery, I try to replace this base 64 value which is "iVBORw0KGgoA" . So once after successful profile picture upload, I'm trying to replace this preview…

VIEW QUESTION
Back To Top
Search