<script defer>
document.all.AF.value=1;
document.all.Af.value=2;
</script>
<input id=AF>
<input id=Af>
document.all.AF.value=1;
document.all.Af.value=2;
</script>
<input id=AF>
<input id=Af>
解决方案 »
- ExtJs 再次载入panel
- 为什么我下面这样调用里面的同id div 不行??
- 请教用过Antechinus JavaScript Editor 9的大侠们有关debug功能的问题!
- ie:download didn't work in the client side ,why
- 在线等,解决马上给分
- 关于复选框问题!
- EasyUI datagrid不支持自定义的JsonResut 吗?
- 哪位大哥给我看下这个简单滴表单提交程序
- 文本框当输入内容且离开时,激发一事件,js如何写啊?
- 高手请进:用javascript实现解释器!
- 关于框架中链接页面的问题,急~~
- Form 的 编辑框 检测空,,,,,谁能写一个通用函数呀。。。。。。。。
function ShowMenu(ids)
{
var theObj = document.getElementById(ids);
if(theObj)
theObj.style.display=(theObj.style.display=='none')?'':'none';
}
</script><a href="javascript:ShowMenu('AF');">AF</a>
<a href="javascript:ShowMenu('Af');">Af</a>
<div id="AF" style="display:none">AF</div>
<div id="Af" style="display:none">Af</div>目标:点击AF,显示AF,点击Af,显示Af