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

action="openWin('asppage.asp')"

Status
Not open for further replies.

zuza

Programmer
Nov 9, 2003
54
YU
Hello there,

I want the results page of form action to pop-up, but is not working, can please somebody help me on this?? I have a function :
<script language="JavaScript">
<!--
function openWin(fajlli) {
window.open(''+fajlli+'',"",'width=800,height=500,top=25,left=25,scrollbars=yes,toolbar=no');
}
-->
</script>

BUT, is not working, I eant when they're choosing option from drop-down & then click on serach -- the result page to pop-up.

Thank a lot,
ZuZa
 
The Form tag has an attribute called TARGET, that should do what you need.
 
btw This is the ASP forum not Javascript.


but the syntax should be

window.open('URL','windowname', etc...

and the function call will be

openWin('URL')

Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top