摘要:
@RenderSection在布局页中占位,此布局页的子页自己去定义自己的呈现块section。@RenderSection在布局页中占位,此布局页的子页自己去定义自己的呈现块section。子页面@section SubMenu{ Hello This is a section implement in About View.} @if (IsSectionDefined("SubMenu")) { @RenderSection("SubMenu", false)//为了防止因缺少节而出现异常,可以给RenderSection()提供第2个参数 } e 阅读全文
摘要:
var value= $("input:radio[name='per'][checked]").val();$("input[name='testradio']:eq(1)").attr("checked","checked");//eq(1)表示第二个<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xh 阅读全文