Strange JS Wierdness with CF

2002-09-23 Thread mynews

I have a simple form that shares a page with a popup window. 
If the popup window link is clicked and I submit the form --if 
I hit the back button the form is cleared.

Heres the kicker; it only happens if my page has a .cfm file 
extension. If its .html or .htm it does not clear.

CODE:

html
head
~titleUntitled/title
/head

body
form action=anypage.html method=post
~input type=text name=search
~input type=submit
/form

a href=# onClick=window.open('http://www.yahoo.com','yahoo')popup 
test/a
/body
/html


Does anyone know why this happens or how to fix it?

Thanks,
David Murphy
www.cfugcny.org
 

___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Strange JS Wierdness with CF

2002-09-23 Thread Bryan Love

dunno for sure, but it would be dirt simple to have JS clear the form on
page load...

+---+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
TeleCommunication Systems
[EMAIL PROTECTED]
+---+

...'If there must be trouble, let it be in my day, that my child may have
peace'...
- Thomas Paine, The American Crisis

Let's Roll
- Todd Beamer, Flight 93



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 1:25 PM
To: CF-Talk
Subject: Strange JS Wierdness with CF


I have a simple form that shares a page with a popup window. 
If the popup window link is clicked and I submit the form --if 
I hit the back button the form is cleared.

Heres the kicker; it only happens if my page has a .cfm file 
extension. If its .html or .htm it does not clear.

CODE:

html
head
~titleUntitled/title
/head

body
form action=anypage.html method=post
~input type=text name=search
~input type=submit
/form

a href=# onClick=window.open('http://www.yahoo.com','yahoo')popup 
test/a
/body
/html


Does anyone know why this happens or how to fix it?

Thanks,
David Murphy
www.cfugcny.org
 

___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists