How do I upload an avatar? I have a page. after a user logs on, the avatar can be changed, just like the one in csdn. can it be implemented through ajax? I have seen many people say that they cannot be implemented through ajax. now, after uploading, I enter another page. I hope that the uploaded page will be displayed and the Avatar will be refreshed. ------ Solution -------------------- it is best not to use formpost directly. How do I upload an avatar?
I have a page. after a user logs on, the avatar can be changed, just like the one in csdn. can it be implemented through ajax?
I have seen many people say that they cannot be implemented through ajax. now, after uploading, I enter another page. I hope that the uploaded page will be displayed and the Avatar will be refreshed.
------ Solution --------------------
It is best not to directly form post.