1,IE支持,但注意大小写document.bgColor='red'
解决方案 »
- 使用JavaScript切换网站样式,有哪些方法?
- 求个JS时间代码
- 这段JS代码可以再精简么?
- JavaScript有没有方法获得服务器端的Bean?
- 各位大侠请帮忙--在线等--十万火急--JS导致IE浏览器内存泄漏问题
- 请问大名鼎鼎的meiZZ:在HTML编辑器中如何获取光标父对象啊?
- parent.parent.listfrm.document.location.href = "test.html"为什么这么写在WINXP中会出错?
- 显示刷新的时间,我这里写的有问题吗?
- 网页内各对象的层次(需要可以再加分!)
- 请问一下,我想在表格的某一列单击就删除表格此列,应该如何作?急,谢谢了。
- 如何控制文本框的字符数?
- <STYLE>.saveHistory {behavior:url(#default#savehistory);}</STYLE>
<script>
function t(obj){
var s
t=new Array()
a=obj.split("")
s=a.reverse()
s=a.toString()
s=s.replace(/,/g,"")
alert(s)
}
</script>
<script>
function display()
{
var first1=window.document.form1;
mxh1.innerText=first1.t1.value
var first=window.document.forms[0];
mxh2.innerText = first.t1.value+"*****";
}</script>
<form name="form1">
<input name=t1 value="test">
</form>
<div id=mxh1></div>
<div id=mxh2></div>
innerText这个属性的含义?
reverse()的参数设置?
replace()的参数设置?
还有为什么必须加toString呀!
还有onChange(),IE支持吗?
有谁知道请赐教,谢了!
<script>
function t(v){
alert(v.split("").reverse().join(""));
}
</script>
<script>document.bgColor='red'</script>
<script>document.body.bgColor='green'</script>
<script>document.body.style.backgroundColor='blue'</script>