如何设置点击添加按钮之后可以弹出一个填写添加信息的textbox
解决方案 »
- 如何在自己的网站上添加上 百度搜索 或是Google搜索 的搜索框
- asp.net 获取电脑名
- 这句有什么用啊 .Content { overflow: hidden; padding: 0 250
- 没有可用的错误消息,结果代码: E_FAIL(0x80004005)。 在线等待。。。高分求解....
- 高分求将当前应用程序的目录装入到treeview中!
- 诚聘网络家教
- 必须用Embed 标记怎么写??
- ASP.net构建WEB站点程序与页面美化?
- 请教各位高手
- 誰有asp.net網絡開發入門與實踐一書的源碼
- FormView 插入模式下,怎么实现关联记录的显示
- .net 与 java php 成本问题
<img src="images/di.jpg" width="959" height="422" border="0" usemap="#Map" />
</form><map name="Map" id="Map"><area shape="rect" coords="396,6,534,139" href="gywm.aspx" />
<area shape="rect" coords="538,144,675,280" href="dglc.aspx" />
<area shape="rect" coords="821,141,957,280" href="dztj.aspx" /><area shape="rect" coords="257,282,389,414" href="dgml.aspx" /><area shape="rect" coords="184,57,241,91" id="loginbtn" onClick="locking();"/><area shape="rect" coords="123,114,176,130" href="Register.aspx" /></map></body>嵌套页面
要点击添加按钮后,页面自动刷新然后显示。具体是怎么弄的?设置一个字段用if()判断?还是DIV有属性可以设置?谢谢
<div id="divTest" style="display:none;">
<input type="text" style="width:200px;" />
</div>jsfunction ShowOrHide(obj) {
with (divTest) {
if (style.display == "none")
divTest.style.display = "block";
else
divTest.style.display = "none";
}
}
myDiv.Attributes["style"] = "display:block"; //显示
怎么初始化div控件为隐藏
在pageload下添加这个。 myDiv.Attributes["style"] = "display:none"; //隐藏?