JS得到后台的公共属性 var count=<%=UnChangeCount

后台代码:
public int UnChangeCount
        
{
            
get{return m_UnChangeCount;}
        }
前台JS:
function SwitchShow()
         
{
            
var count=<%=UnChangeCount%>;
                        }
原文地址:https://www.cnblogs.com/songsh96/p/634691.html