Pure ASP Upload 2 Support Product Page
This topic is locked
This topic was archived
Preview in a popup
Asked 11 May 2003 12:10:28
1
has this question
11 May 2003 12:10:28 Ivan Halen posted:
Hello,I've a form with 2 buttons, "Preview" and "Submit"... with a little JavaScript code the "Preview" button opens a popup window in which I show data to be submitted (if I haven't a file field in my form, it'e easy to do with Request.Form collection), while the "Submit" button sends data to a MS Access DB...
Well, if I put the ASP Upload behavior on the page neither the "Preview" nor the "Send" buttons work (without the ASP Upload everything works very fine...)
The JS functions to send data are:
function SendPop(ff){
window.open('','popup','scrollbars=yes,resizable=yes,width=460,height=380');
ff.target='popup'
ff.action='preview.asp'
ff.submit()
}
function Send(ff){
ff.target=''
ff.action='home.asp'
ff.submit()
}
What should I modify to make both buttons work? And, more in general, how to use ASP Upload with JS functions? Thanks?