<input type="text" onfocus="func111()"> <table id="table1111" name="table1" width="300" style="display:none">
<tr >
<td width="100">
<input type="button" name="testBtn4" value="button" onclick=""/>
</td>
<td width="100">
<input type="text" name="text4" id="text4"/>
</td>
<td width="100">
123
</td>
</tr>
</table>
function func111(){
var a=document.getElementById("table1111");
alert(a);
a.style.display="";
}
<tr >
<td width="100">
<input type="button" name="testBtn4" value="button" onclick=""/>
</td>
<td width="100">
<input type="text" name="text4" id="text4"/>
</td>
<td width="100">
123
</td>
</tr>
</table>
function func111(){
var a=document.getElementById("table1111");
alert(a);
a.style.display="";
}
解决方案 »
- [骚年提问,js 打印条码标签问题]
- js向textarea中添加字符的脚本
- $("div").find("p");和$("div p")的根本区别在哪啊
- 如何在IE中绘制动态矩形
- 简单的js兼容问题
- 用浏览器打开PDF文件,屏蔽相关插件的工具条的求助
- 我这段限制图片大小的代码,为什么图片显示不出来?
- ==>>请问:一个表单 如何在提交的时候弹出一个新窗口并且把表单的内容传递给新窗口内的文件?
- 框架页面中鼠标拖动的问题
- 用JavsScript能做出带下拉单的多重选择框,并把选择项移至另一个列表框吗
- 史...上...最...菜... textarea 怎么写 input形式的
- 有关一个网上的数学公式编辑器的开发问题
<input type="text" value="20040218" onfocus="showTimeTable();">
</body>
<table id="tableMain" border="0" style="font-size:9pt;border:1px outset;background-color:threedface; cursor:default;display:none"> <tr height="17"> <!--第二个表行-->
<td>
<font size="2"> 小时</font> <input type="checkbox" id="hourCheck" size="4" onclick="userHour()" >
<select id="selectHour" NAME="selectHour" onchange="changeHour()" >
<option selected>23</option>
</select>
<font size="2">分</font> <input type="checkbox" id="minuteCheck" size="4" onclick="userMinute()" >
<select ID="SelectMinute" NAME="SelectMinute" onchange="changeHour()" >
<option>59</option>
</select>
</td>
<td>
<font size="2">秒</font> <input type="checkbox" id="secondCheck" size="4" onclick="userSecond()">
<select ID="selectSecond" NAME="selectSecond" onchange="changeSecond()">
<option>59</option>
</select>
</td>
</table>
<SCRIPT LANGUAGE=javascript>
<!--
function showTimeTable()
{
var tb = document.getElementById("tableMain");
tb.style.display="";
}
function hideTimeTable()
{
var tb = document.getElementById("tableMain");
tb.style.display="none";
}
//-->
</SCRIPT>