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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JS popup and form variables

Status
Not open for further replies.

jmorris

Programmer
May 2, 2000
15
AU
I have some Dreamweaver generated code that creates a popup. (see below). This code has worked fine until we tested it on IE 5.5. With IE 5.5, the tamplate in the action of the form is not receiving the form variables.

Does anyone know of a more stable why I can acheive what I am trying to acheive with the code below. My only other option is to not use a popup, but then the window that the form results are displayed in will have a navbar etc.

Any suggestions greatly appreciated.

Jason Morris


***THE CODE***

<script language=&quot;JavaScript&quot;>
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>



<form name=&quot;reportform&quot; method=&quot;post&quot; action=&quot;furs/act/act_users_itemised_calls.cfm&quot; target=&quot;reportwindow&quot;>

...some code...

<input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Display report&quot; onClick=&quot;MM_openBrWindow('filename.cfm','reportwindow','scrollbars=yes,width=800,height=600')&quot;>

</form>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top