html js:
var srcUrl = "<%=getUrl%>";
后台静态变量 cs:
public static string getUrl = http://www.hao123.com/logo.gif;
html js:
var srcUrl = "<%=getUrl()%>";
后台方法 cs:
public static string getUrl()
{
return "http://www.hao123.com/logo.gif";
}
html js:
var srcUrl = "<%=getUrl%>";
后台静态变量 cs:
public static string getUrl = http://www.hao123.com/logo.gif;
html js:
var srcUrl = "<%=getUrl()%>";
后台方法 cs:
public static string getUrl()
{
return "http://www.hao123.com/logo.gif";
}