这个问题如何解决啊,设置动态加入的文本框的颜色!!!!!!!!!!!!!!!! onblur='this.style.backgroundColor='#ffffff';'>"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 孟高人,提示我语法错误var cell3 = row.insertCell();cell3.innerHTML = "<input type='text' name='adfd1' size='15' onfocus='this.style.backgroundColor='#ff0000';' onblur='this.style.backgroundColor='#ffffff';'>"; 'this.style.backgroundColor='#ffffff';'改成'this.style.backgroundColor=\'#ffffff\';'试试看 更正,应是'this.style.backgroundColor=\"#ffffff\";' js的命名空间设置问题 js怎么判断世界末日“2012-12-23”字符串对应的时间比今天大? 奇怪的Javascript四舍五入 请问在没有ID的情况下如何得到变量val的值,请教。 用javascript用修改注册表的代码啊 分页插件Pagination修改 javascript函数可以代jsp数组作为参数吗? 菜鸟求救!!!怎样判断输入框????? 请问当网页的右边滚动条滚到最下方,就自动刷新网页,应该怎么写? showModalDialog的问题 请问javascript语句怎样解析url中的参数 救急,关于构造新函数
var cell3 = row.insertCell();
cell3.innerHTML = "<input type='text' name='adfd1' size='15' onfocus='this.style.backgroundColor='#ff0000';' onblur='this.style.backgroundColor='#ffffff';'>";
改成
'this.style.backgroundColor=\'#ffffff\';'
试试看