相关疑难解决方法(0)

如何在jquery方法中获取asp.net会话值?

我想在ASP.NET MVC视图页面中的jquery方法中访问Session值.见下面的代码,

$('input[type=text],select,input[type=checkbox],input[type=radio]').attr('disabled', '<%= Session["CoBrowse"].ToString() %>');
Run Code Online (Sandbox Code Playgroud)

如何在jquery中获取Session值.

c# asp.net asp.net-mvc jquery

12
推荐指数
4
解决办法
9万
查看次数

标签 统计

asp.net ×1

asp.net-mvc ×1

c# ×1

jquery ×1