>>>如果点取消或再点击编辑另一条时原有的脚本还存在你肯定么?>>>这样就会产生脚本错误
to avoid , you could doPage.RegisterStartupScript("Open","<script>function test(){ try{StoreChange(document.getElementById('"+ddlStore.ClientID+"').options[document.getElementById('"+ddlStore.ClientID+"').selectedIndex].value);} catch(){}}window.onload=test;</script>");but it is a hack
to avoid , you could doPage.RegisterStartupScript("Open","<script>function test(){ try{StoreChange(document.getElementById('"+ddlStore.ClientID+"').options[document.getElementById('"+ddlStore.ClientID+"').selectedIndex].value);} catch(){}}window.onload=test;</script>");but it is a hack
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货