用prototype.js怎樣動態隱藏某個文本框? Element.hide('text');或者 $('text').hide(); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title>hidetext</title><script src="scripts/prototype.js"></script></head><body><form id= "form1 " name= "form1 " method= "post " action= " "> <input type= "text" id="text" name="text"> <input type= "button" id="go" value="go" onclick="hidetext();"> </form> <script>function hidetext() {Event.observe($('go'), 'click', function(event) {Element.hide('text');}); }</script></body></html>这样可以 鼠标点击过,给导航加上背景色 $.get $.post $("#div1").load()怎么获取不到数据啊 求助 <a/>超链接下载问题 大家期待的kelex拖动组件官网已经更新了 有个基础问题请教大家,如何使父页面不在框内的页面发生事件时而改变。。。。 ExtJs Grid问题! JavaScript 打开新窗口奇怪问题,挺有意思,求助! 水平滚动条自动居中? jquery.cookie.js插件存储有上限 已经设置浏览器语言德语优先,为什么以下脚本还是显示zh-cn 下拉列表框与listbox2联动的问题,急!!!在线等!
<head>
<title>hidetext</title>
<script src="scripts/prototype.js"></script>
</head>
<body>
<form id= "form1 " name= "form1 " method= "post " action= " ">
<input type= "text" id="text" name="text">
<input type= "button" id="go" value="go" onclick="hidetext();">
</form>
<script>
function hidetext() {
Event.observe($('go'), 'click', function(event) {
Element.hide('text');
});
}
</script>
</body>
</html>这样可以