function check_city(i)
{
document.getElementById("DropDownList2").value=i;
document.getElementById("city_list").style.display="none";
}<a href="#" onclick="return check_city('24优惠)">www.24uhui.com</a>
dropdownlist2后台有个函数
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
}
怎么写可以在点击www.24uhui.com的时候 修改dropdownlist2的值并且调用 DropDownList2_SelectedIndexChanged?
{
document.getElementById("DropDownList2").value=i;
document.getElementById("city_list").style.display="none";
}<a href="#" onclick="return check_city('24优惠)">www.24uhui.com</a>
dropdownlist2后台有个函数
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
}
怎么写可以在点击www.24uhui.com的时候 修改dropdownlist2的值并且调用 DropDownList2_SelectedIndexChanged?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货