Question
Open popup on form submission in a cfdiv
Hi,
I have a form in a cfdiv that onsubmit opens a popup window (not a cfwindow) so that I can print the results of the form using a print() function. The problem I have is that the form submission stays within the cfdiv. The popup opens but doesn't seem to capture the form. The results of the form appear in the cfdiv.
Is there any way to target a popup window from within a cfdiv so that I can send the form to the popup?
I have also tried using cfwindow to open with the form results but when I run a javascript: print() I get the word 'false' displayed in my print preview. All other content is missing?
Any ideas?
Cheers,
Dave
I have a form in a cfdiv that onsubmit opens a popup window (not a cfwindow) so that I can print the results of the form using a print() function. The problem I have is that the form submission stays within the cfdiv. The popup opens but doesn't seem to capture the form. The results of the form appear in the cfdiv.
Is there any way to target a popup window from within a cfdiv so that I can send the form to the popup?
I have also tried using cfwindow to open with the form results but when I run a javascript: print() I get the word 'false' displayed in my print preview. All other content is missing?
Any ideas?
Cheers,
Dave