I tried placing the code where you say and nothing seems to work. I also tried varies other methods and nothing seems to work. I have shared my app with appery. The app name is EB. Please help me solve this, its been weeks and still no solution. My code is on the "SignUp_Profile_Page" page and in the " temp_Upload" javascript file.