62,075
社区成员
发帖
与我相关
我的任务
分享
<asp:DropDownList ID="DropDownList1" runat="server" Width="152px" AutoPostBack="True">
<asp:ListItem Value="0">未处理</asp:ListItem>
<asp:ListItem Value="1">通过</asp:ListItem>
<asp:ListItem Value="2">驳回</asp:ListItem>
</asp:DropDownList>
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
if (DropDownList1.SelectedValue == "2")
{
ClientScript.RegisterStartupScript(GetType(), "show", "$(document).ready(function(){ tb_show('add a caption to title attribute / or leave blank','Default2.aspx?keepThis=true&TB_iframe=true&height=250&width=400',false);});", true);
}
}