Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open window and refresh in javascript/coldfusion

Status
Not open for further replies.

kjeff215

MIS
Mar 19, 2002
17
US
I am using a coldfusion template. A simple form is submitted. Onsubmit it generates a popup window(showing the user submission). What I would like to do is to also refresh the parent window so that the form variables(content on the page) is now refeshed and gone.

I was told that I can do more than one action onsubmit.
can someone please show me how?

thanks in advance
 
The easiest way is to call a function onSubmit. In that function you can do whatever you want. Just remember to return true or false from the function.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
I have a jvascipt funtion that opens a window. The command in the function is
window.open("description.asp?name=" + sysno); This passes a parameter "sysno" with the URL. I need to specify the height width etc of the window but can not get the syntax right. If I add, 'toolbar=0'memnubar etc... It has no effect. If anyone can helpwih this I would apprecite it Thanks in advance.
 
I have a jvascipt funtion that opens a window. The command in the function is
window.open("description.asp?name=" + sysno); This passes a parameter "sysno" with the URL. I need to specify the height width etc of the window but can not get the syntax right. If I add, 'toolbar=0'memnubar etc... It has no effect. If anyone can helpwih this I would apprecite it Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top