如何点击按钮时改变文本框的样式 如果不把注释的地方去了就会报错现在这个样式怎么加 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 问题解决 function testReadonly() { txttest = document.getElementById("txttest"); btntest = document.getElementById("btntest"); if(txttest.readOnly == true) { txttest.readOnly = false txttest.className ="yesborder"; btntest.value ="修改" } else { txttest.readOnly = true txttest.className ="noborder"; btntest.value ="编辑" } } Firefox 解析外部加载js文件乱码 JS超链接问题 自动提交单选框,多选框 读.txt文件的问题 字符串中出現單引號雙引號或括號時如何處理 做网页,小网站,计算机毕业设计 求一验证输入的正则表达式。 急,乱码的问题,怎么ie6以下的版本浏览使用javascript提示的内容是乱码(xsl页面) 图像处理问题,高手请进! 请问用showModalDialog 打开的新窗口,怎样传值回父窗口? 请教各位JS问题(在线等待)问题解决马上给份 仿QQ菜单小BUG,高手请进!
function testReadonly()
{
txttest = document.getElementById("txttest");
btntest = document.getElementById("btntest");
if(txttest.readOnly == true)
{
txttest.readOnly = false
txttest.className ="yesborder";
btntest.value ="修改"
}
else
{
txttest.readOnly = true
txttest.className ="noborder";
btntest.value ="编辑"
}
}