| View previous topic :: View next topic |
| Author |
Message |
Thomas
Joined: 13 Sep 2007 Posts: 8
|
Posted: May 01, 2008 4:49 am Post subject: Upload again without refresh? |
|
|
Hi after the upload is done, i'd like to stay on the same page. ..
Keep in mind i'm using the pbmode is = inline, but even in popup mode, it reloads the parent page. I've made the following page which gets me half way there.
# print"</Form><Script>document.F1.submit();document.location='about:blank';</Script></BODY></HTML>";
print"</Form><Script>document.location='javascript:false';parent.hideLayer(); </Script></BODY></HTML>";
Is there anyway for me to not have to reload the parent page? I've got a small DHTML file browser so i don't want the parent page reloaded, i just want to keep on uploading if possible, but strange things happen, after i hide the layer and show the upload button again  |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: May 01, 2008 6:45 am Post subject: |
|
|
| You just have to remove "document.F1.submit();" from upload.cgi I think since this code submit form to the parent. |
|
| Back to top |
|
 |
Thomas
Joined: 13 Sep 2007 Posts: 8
|
Posted: May 01, 2008 10:16 pm Post subject: |
|
|
| That does work, but the multi-selector needs to be cleared, and the whole thing doesn't seem to want to upload again. Is there something else that needs to be done? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|