var tt = "<table width="200" border="0" height="65">
<tr>
<th height="33" colspan="2" scope="row">查找</th>
</tr>
<tr>
<th width="110" scope="row"><input type="text" /></th>
<th width="74" height="33"scope="row"><input type="button" value="确定" size="20" /></th>
</tr>
</table>";这段定义字符串变量代码错哪里?
<tr>
<th height="33" colspan="2" scope="row">查找</th>
</tr>
<tr>
<th width="110" scope="row"><input type="text" /></th>
<th width="74" height="33"scope="row"><input type="button" value="确定" size="20" /></th>
</tr>
</table>";这段定义字符串变量代码错哪里?
解决方案 »
- 求一个js正则表达式
- 增加输入框的问题,在线问
- js如何操作某种类型的所有标签?
- 请解释一下jquery中 ajaxComplete这个函数怎么用,网上的信息太少了,谢谢
- 请教这几段js代码意思和怎么调用?急
- ~~~~~~~~~Jquery回车TAB顺序,马上给分~~~~~~~~~~~
- 请教,如何用CSS或者JS方式把列表分段?
- 怎么不会执行JavaScript里的方法?
- 用鼠标在select里选择一项时,发生的事件名是什么?哪里能找到js中所有的事件列表
- 为什么我不能用windows.open在新窗口中打开链接?(附代码)
- 为什么查询按钮,按下去没反应的.JS问题?_有答案_火速结贴
- 真的好奇怪啊!!!!!!JS问题
这里可以 用单引号var tt = '<table width="200" border="0" height="65"><tr><th height="33" colspan="2" scope="row">查找</th></tr><tr><th width="110" scope="row"><input type="text" /></th><th width="74" height="33"scope="row"><input type="button" value="确定" size="20" /></th></tr></table>';
<tr>
<th height='33' colspan='2' scope='row'>查找</th>
</tr>
<tr>
<th width='110' scope='row'><input type='text' /></th>
<th width='74' height='33' scope='row'><input type='button' value='确定' size='20' /></th>
</tr>
</table>";或者
var tt = '<table width="200" border="0" height="65">
<tr>
<th height="33" colspan="2" scope="row">查找</th>
</tr>
<tr>
<th width="110" scope="row"><input type="text" /></th>
<th width="74" height="33"scope="row"><input type="button" value="确定" size="20" /></th>
</tr>
</table>';