js中嵌入jsp(html)代码的双引号转换问题--事件没反应
"<center><select id='hylb1Mod1' name='hylb1' class='selectpicker show-tick' onchange=\"changeHylb1(this.value,'#hylb2Mod1','#hylb3Mod1');\"></select>"
+ '<select id="hylb2Mod1" name="hylb2" class="selectpicker show-tick" onchange="getHylb(\'#hylb3Mod1\',this.value,\'\');"></select>'
+ '<select id="hylb3Mod1" name="hylb3" class="selectpicker show-tick"></select>'
+ '<span class="editable-clear-x"></span><div class="editable-buttons"><button type="button" id="updateData" style="height:34px;" class="btn btn-primary btn-sm editable-submit"><i class="glyphicon glyphicon-ok"></i></button><button type="button" id="closeDialog" style="height:34px;" '
+ 'class="btn btn-default btn-sm editable-cancel"><i class="glyphicon glyphicon-remove"></i></button></div></center>'
以上就是js中嵌入jsp(html)代码的双引号转换问题--事件没反应的详细内容,更多请关注其它相关文章!
上一篇: Jsonp post 跨域方案_javascript技巧
下一篇: Vue2.0设置全局样式实例分享