Perfect & to the point.
Thanks.
& have some more points.
:o)
Main Topics
Browse All TopicsHi all,
I have this problem (Except not knowing Javascript..;o)
The following bit of code open's the value of a select box in the same window. However I need to open it in a new window say 400 by 400. Any help would be great..
Ta
<script language="JavaScript">
<!--
function ViewDetail(targ,selObj,res
eval(targ+".location='"+se
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<select name="ONE" size="5" onChange="ViewDetail('pare
<option value="classes.asp">Classe
<option value="classdetail.asp?cla
<option value="classdetail.asp?cla
<option value="classdetail.asp?cla
</select>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ahosangPosted on 2002-01-06 at 05:56:51ID: 6713793
Try:
{ .selectedI ndex].valu e; bar=yes,st atusbar=ye s"); 1)"> s</option> ss=1">Clas s One</option> ss=2">Clas s Two</option> ss=3">Clas s Three</option>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<script language="JavaScript">
<!--
function ViewDetail(selObj,restore)
page=selObj.options[selObj
win=window.open(page, "popup", "width=400,height=400,tool
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<form>
<select name="ONE" size="5" onChange="ViewDetail(this,
<option value="classes.asp">Classe
<option value="classdetail.asp?cla
<option value="classdetail.asp?cla
<option value="classdetail.asp?cla
</select>
</form>
</body>
</html>