js中多层引号嵌套的处理方法
`<form style="padding:10px;Dwidth:335px;">
<div style="padding-top:5px;Dwidth:99%;">
<input style="Dwidth:99%" class="easyui-combotree" data-options="
onSelect: function (node) {
$('[name="featureLayer"]').children('input').combobox({disabled: false});
$('[name="where"]').children('input').textbox('enable');
"/>
</div>
</form>`
如上所示,我用了四种引号,
1、`` 反引号
2、“” 双引号
3、‘’ 单引号
4、"
四层嵌套的话就可以用这四种引号啦,就不用转义了。当然,你也可以用转义。