js_多个引号的用法

 str += "<input id='sel_DayB' width='120' onfocus=\"WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd',maxDate:\'#F{$dp.$D(\\'sel_DayE\\')||\\'" + $(obj).attr("data-e") + "\\'}',minDate:'" + $(obj).attr("data-b") + "'  })\" class='Wdate' />";
str += ' 至 ';
str += "<input id='sel_DayE' width='120' onfocus=\"WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\\'sel_DayB\\')}',maxDate:'" + $(obj).attr("data-e") + "' })\" class='Wdate' />";
上一篇:C语言基础(16)-指针


下一篇:【开源java游戏框架libgdx专题】-03-项目开发与调试