onmousedown显示textarea的问题???? <a href="#" onmousedown="document.article.123.style.display="boock"" >回复</a>article是form名称吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <a href="#" onmousedown="document.article.123.style.display="block"" >article是form名称吗? <a href="#" onmousedown="document.getElementById('123').style.display='block'" >回复</a><textarea rows="6" name="text" id="123" STYLE="display:none;"></textarea>建议使用document.getElementById类似的标准js代码 document.article.123.id貌似只有ie才支持这么做,但是你这么做也没有问题,问题在于你用了数字,用了数字后这么用是有问题的,你改成下面这样子应该就没有问题了.<a href="#" onmousedown="document.article.text.style.display=online" >回复</a><textarea rows="6" name="text" id="123" STYLE="display:none;"></textarea> 恩~~ 现在能打开了,可能因为<a> 点了以后出现那个textarea但是跳转到本页最上面了.........有什么办法,点了以后就是出现testarea.别的不动呢?????? onmousedown="document.article.text.style.display=online; return false;" 楼上的老大,<a onmousedown="document.article.text.style.display=online; return false;" >回复</a>不行啊~~ 点了后框是打开了,但是转向网页的目录了???? onmousedown="document.article.text.style.display=online;" onclick="return false;"或是不要用onmousedownonclick ="document.article.text.style.display=online; return false;" 行了,刚才弄错了....可是为什么onclick就行呢????? <body><form name="article"><a href="#" onmousedown="document.article.text.style.display='';" onclick="return false;">回复</a><textarea rows="6" name="text" id="test" STYLE="display:none;"></textarea></form></body> <a href="#" onmousedown="document.getElementById('123').style.display='block'" >回复</a><textarea rows="6" name="text" id="123" STYLE="display:none;"></textarea> 求大神帮忙实现一个简单的JS 一菜鸟向各位大虾请教javascript问题 JSP运行错误 关于iframe页面未加载完的问题 紧急:document.frmTest.selTest.options[1].selected=true;为什么不好使? 请问:如何初始化的时候不显示原来的网页,在线等 关于窗口间传值的问题 有关下拉框和文本框的联动问题!高分送出!! 十万火急!为什么弹出窗口中的控件不响应事件处理程序?而正常打开它却没什么问题!~~请高手解惑!! 请教,怎么判断一个值是不是数字! json数据到ext前台显示的问题 js 的一个小问题
article是form名称吗?
<textarea rows="6" name="text" id="123" STYLE="display:none;"></textarea>建议使用document.getElementById类似的标准js代码
onmousedown="document.article.text.style.display=online; return false;"
<form name="article">
<a href="#" onmousedown="document.article.text.style.display='';" onclick="return false;">回复</a><textarea rows="6" name="text" id="test" STYLE="display:none;"></textarea>
</form>
</body>
<a href="#" onmousedown="document.getElementById('123').style.display='block'" >回复</a>
<textarea rows="6" name="text" id="123" STYLE="display:none;"></textarea>