码迷,mamicode.com
首页 > Web开发 > 详细

asp.net 后台注册脚本

时间:2015-02-02 19:49:34      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

string myScript = "function ShowPanel() { $(‘.nav a[href=\"#" + PanelType.wenben.ToString() + "\"]‘).tab(‘show‘); }";
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "myScript", "<script>" + myScript + "</script>", false);
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "myScript1", "<script>$(document).ready(function () {ShowPanel(); });</script>", false);

asp.net 后台注册脚本

标签:

原文地址:http://www.cnblogs.com/pengfeiwang/p/4268447.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!