javascript single quotes and double quotes marks nesting
var sNewNodeHtml="<li id='097874a0-6e25-4bdb-bd74-53f44f099dd6' class='t-item' onclick='treeNodeSelect(\"d3bfbd27-05e4-4792-a8f0-d3be77c648d7\");'>"; sNewNodeHtml+="<div class='t-top'>"; sNewNodeHtml+="<span class='t-in t-state-selected'>"; sNewNodeHtml+="<img class='t-image' width='25px' height='25px' src='/Content/themes/default/images/ServerAvailable.png' alt='AA Web Server'>"; sNewNodeHtml+="AA Web Server"; sNewNodeHtml+="</span>"; sNewNodeHtml+="<input class='t-input' type='hidden' value='097874a0-6e25-4bdb-bd74-53f44f099dd6' name='itemValue'>"; sNewNodeHtml+="</div>"; sNewNodeHtml+="</li>";
posted on 2012-11-22 17:33 malaikuangren 阅读(199) 评论(0) 编辑 收藏 举报