如何自己控制文本框高度 不好意思。自己搞定了,原来这么简单。。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <input id="ss" style="height:122px;"> <span style="color:#3D62C2;cursor:hand;" onclick="ad(0)">+</span><span style="color:#3D62C2;cursor:hand;" onclick="ad(1)">-</span><script> var ad = function(cd){ var oo = document.getElementById("ss"); if(cd == 0) { oo.style.height = (parseInt(oo.style.height) +1) +"px"; } else if(cd == 1) { oo.style.height = (parseInt(oo.style.height) -1) +"px"; } else { return ; } }</script> C#写的ActiveX插件在ExtJS面板里闪动的问题。求解答啊... js 解压zip包 关于JS失去焦点和点击事件的问题 关于js获取cookie的问题 onbeforepaste 疑问?? 请问这样的javascript标签的src的值是什么意思? 如何统一设置 TR 中字体颜色 如何让表单回车不提交,只能点击提交按钮才提交? 高分求解:怎样才能做到首页弹出新窗口后自动关闭呢?(分不够可加) 如何动态地生成一个<div>? 一个小问题,请大家帮帮忙?谢谢大家 Javascript 类型
<input id="ss" style="height:122px;">
<span style="color:#3D62C2;cursor:hand;" onclick="ad(0)">+</span>
<span style="color:#3D62C2;cursor:hand;" onclick="ad(1)">-</span>
<script>
var ad = function(cd){
var oo = document.getElementById("ss");
if(cd == 0)
{
oo.style.height = (parseInt(oo.style.height) +1) +"px";
}
else if(cd == 1)
{
oo.style.height = (parseInt(oo.style.height) -1) +"px";
}
else
{
return ;
}
}
</script>