怎样用js设计 点击某个按钮,就可以改变文本框的颜色?_百度知道
[专业]答案:<input type="text" id="Txt" /><input type="button" value="改变颜色" id="Btn"/><script> window.onload = function () { document.get...更多关于JavaScript点击按
js点击改变文字颜色,再点击又变回原样_百度知道
最佳答案: <button type="button" onclick="text()"> 点击这里!</button> function text(){ if(document.getElementById('id1').style.color=="red"){ ...更多关于JavaScript点击按钮切换字体颜色 判断不执行的问题&