怎样让文本框的底色为蓝色(或着透明) textboxid.runtimeStyle.background="blue"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 textboxid.style.background="blue"; 我试了style="background:;"好用但却不知道textboxid.style.background="blue";应该写在哪里?再就是我怎么再将输入的文本的颜色变为白色(或其他颜色)? 比方说:<script>textboxid.style.background="bule"</script><intput type="text" name="textboxid"> 文本变白就是 textboxid.style.color="white"其实只需要用onload就好,比如:<input type="text" name="textboxid" onload="this.style.background='blue';this.style.color=white"> 咨询一个单选按钮JS 通过JS在地址栏上传值 关于无法获取上传文件路径的问题 要实现一个效果,点击按钮,当前页面横向切换成另一个页面。。。 页面中在javascript里面存放的cookie怎么在C#里面获取... js问题,请指点 muxrwc(需时越兔)请进,其他朋友也可以过来帮忙,谢谢 关于CSS的优先级问题 css中怎么实现td中不换行的功能 frontpage使用问题?怎么这么别扭? 请教:TextRange.expand,使用方法与功能? 播放……
但却不知道textboxid.style.background="blue";应该写在哪里?
再就是我怎么再将输入的文本的颜色变为白色(或其他颜色)?
<script>textboxid.style.background="bule"</script>
<intput type="text" name="textboxid">
文本变白就是 textboxid.style.color="white"
其实只需要用onload就好,比如:
<input type="text" name="textboxid" onload="this.style.background='blue';this.style.color=white">