XUpload - XUpload Pro jump to top of page.

Posts: 5
Joined: May 24, 2007 2:56 am

XUpload Pro jump to top of page.

#1 Postby daniel » May 24, 2007 2:59 am

I hope this isn't a newbie question, but is it possible to jump to the top of the page after submitting.

Here is the situation:
- I am defaulting my form to display inside the table.
- After adding 20 files I go to the bottom of the page to hit the Upload button.
- The progress meter is at the top of the page so a user is left at the bottom in a blank space.
- I would like for the browser to jump back to the top upon hitting the Upload button.

Any ideas?

User avatar
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 24, 2007 5:21 am

Sure. In xupload.js find

Code: Select all

and add below:

Code: Select all

Thats' it.