I spend a lot of time to create a code that will upload image to server. Search and search and test that what I have to do to make such function worked. Luckily found something!!! Modify some codes and finally image uploaded to server. But every time I upload the whole page refresh.