服务器控件如何应用js:
例1:服务器控件的OnClientClick属性的应用:
OnClientClick='return confirm("确认提交?")'
OnClientClick='alert("确认提交?")'
例2:CS中服务器控件方法对js的应用:
Response.Write("<script>window.location='a_news.aspx'</script>");
服务器控件如何应用js:
例1:服务器控件的OnClientClick属性的应用:
OnClientClick='return confirm("确认提交?")'
OnClientClick='alert("确认提交?")'
例2:CS中服务器控件方法对js的应用:
Response.Write("<script>window.location='a_news.aspx'</script>");