jquery - Picture update without page refresh -


i in process of developing new web application. web application includes ability users create profile page picture on it. using regular html form allow users input profile information.

i implement solution users able see profile picture uploaded. right using jquery file upload (http://blueimp.github.io/jquery-file-upload/basic-plus.html) upload picture server , write filename database @ works fine. problem picture on page doesn't update until users reloads page. newbie , not sure best approach implementing functionality. have done research on ajax calls, havent been able find guide on how implement in case.

i building web application using bootstrap/jquery/jsp/servlets/. not using of popular java frameworks. newbie growing knowledge of web applications.

how best implement functionality allows profile picture update without refreshing page, , there beginner guide anywhere online?

thank you,

it's bit difficult troubleshoot problem, without seeing code using. trying putting in fiddle , giving link can better understand problems.

the 'basic plus' version of plugin seems display , retrieve image default. there may small logic error preventing default behavior or perhaps parameter missing?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -