急!!!Javascript问题
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<form action="" method="post">
<div align="center">网上图书订购<br>
</div><center>
<table width="227" border="1" bgcolor="cyan">
<tr>
<td colspan="3"><label>
<select name="select" onchange='check()'>
<option value="请选择货币种类">请选择货币种类</option>
<option value="人民币">人民币</option>
<option value="美元">美元</option>
</select>
</label></td>
</tr>
<tr>
<td width="59">图书名称</td>
<td width="67">图书单价</td>
<td width="79">订购数量</td>
</tr>
<tr>
<td>软件工程</td>
<td><label>
<input name="t1" type="text" size="8" value='21' disabled/>
</label></td>
<td><label>
<input name="t2" type="text" size="8" disabled/>
</label></td>
</tr>
<tr>
<td>Java</td>
<td><label>
<input name="t3" type="text" size="8" value='30' disabled/>
</label></td>
<td><label>
<input name="t4" type="text" size="8" disabled/>
</label></td>
</tr>
<tr>
<td>HTML</td>
<td><label>
<input name="t5" type="text" size="8" value='25' disabled/>
</label></td>
<td><label>
<input name="t6" type="text" size="8" disabled/>
</label></td>
</tr>
<tr>
<td colspan="3"><label>
<div align="center">
<input type="submit" name="b1" value="提 交" disabled onclick='op()'/>
<input type="reset" name="b2" value="重 置" disabled/>
</div>
</label></td>
</tr>
</table>
</center>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
document.forms[0].t1.disabled=false;
document.forms[0].t2.disabled=false;
document.forms[0].t3.disabled=false;
document.forms[0].t4.disabled=false;
document.forms[0].t5.disabled=false;
document.forms[0].t6.disabled=false;
document.forms[0].b1.disabled=false;
document.forms[0].b2.disabled=false;
}
var newwin;
function op()
{
{
newwin=open('','aa',toolbar=1,locatoin=1,resizable=0,width=300,height=300);
newwin.document.open();
newwin.document.write('<form><table width="234" height="180" border="1" bgcolor="cyan"><tr><td>图书名称</td><td>图书单价</td><td>订购数量</td></tr><tr><td>软件工程</td><td><input name="t10" type="text" size="8" value="" /></td><td><input name="t20" type="text" size="8" /></td></tr><tr><td>Java</td><td><input name="t30" type="text" size="8" /></td><td><input name="t40" type="text" size="8" /></td></tr><tr><td>HTML</td><td><input name="t50" type="text" size="8" /></td><td><input name="t60" type="text" size="8" /></td></tr><tr><td>总计</td><td colspan="2"><label><input name="textfield7" type="text" size="8" /></label></td></tr><tr><td colspan="3"><label><div align="center"><input type="submit" name="Submit" value="提 交" /> <input type="submit" name="Submit2" value="取 消" /></div></label></td></tr></table></form>');
newwin.document.close();
}
}
</SCRIPT>
</body>
</html>
哪位高手帮我我实现一下里面的功能
谢啦!!!