日期:2014-05-17 浏览次数:20495 次
<asp:TextBox ID="TxtSearch" runat="server"></asp:TextBox>
<input type="button" name="Submit" onclick="href:def.aspx?name=TxtSearch的值" value="进入" />
<asp:TextBox ID="TxtSearch" runat="server"></asp:TextBox>
<input type="button" name="Submit" onclick="c()" value="进入" />
function c()
{
window.open("xxxx.aspx?key="+$("#TxtSearch").val());
}