function theInvoke()
{
var thetxtstr = document.getElementById('TextBox1').value
window.open ('cphelp.aspx','MybTarget','dialogWidth=150px;dialogHeight=80px;');
}
</script>
我上面这段javascript 我要写成如下的形式
Response.Write("<script language="javascript"; type="text/javascript";>;");
Response.Write("function theInvoke()");
Response.Write("{ var thetxtstr = document.getElementById('TextBox1').value;");
Response.Write("window.open('cphelp.aspx','MybTarget','dialogWidth=150px;dialogHeight=80px;');}");
Response.Write("theInvoke();</script>");
这样出现错误,谁能帮我改装一下,50分奉上 谢谢!~~~~~