日期:2014-05-17  浏览次数:20923 次

Extjs 中双引号该怎么用
tpl : ['<tpl for=".">',
   '<a href="javascript:void(0);" onclick="showDialog(600,400,"http://localhost:8821/yscchosting/pages/reports/rt-service-earch-reports.jsp",null,"no","true");"><div class="item">',
   '<img title="测试" src="../../datasets/touch-icons/{agentname}" />',    '</div></a>', 
   '</tpl>'
  ],

这一部分
onclick="showDialog(600,400,"http://localhost:8821/yscchosting/pages/reports/rt-service-earch-reports.jsp",null,"no","true");"
里边的双引号该怎么改,求教?
------解决方案--------------------
\"  转义看看