如何使hr(水平规则)可见true / false [英] how to make hr(horizontal rule) visible true/false
本文介绍了如何使hr(水平规则)可见true / false的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何在需要时使用hr。如何给它一个ID。
我的代码:
I would like to know how to use the hr whenever required for. How to give an ID to it.
My code:
<asp:hr id="hrcityleft" runat="server"
hr style="z-index: 1; left: 240px; top: 195px; position: absolute; height: 0px; width: 299px; background-color:Silver; "
/>
无效。说:''未知服务器标签asp:hr''。
It is not working. Says: ''Unknown server tag asp:hr''.
推荐答案
你好
你可以这样使用
Hello
You can used like this
<hr runat="server" id="hr" style="z-index: 1; left: 240px; top: 195px; position: absolute; height: 0px; width: 299px; background-color:Silver; " />
hi,
使用这个简单的方法 -
use this simple methoed-
function showORhide(obj) {
if (
(' #' + obj)。length < span class =code-keyword>> 0 ){
if (
('#' + obj).length > 0) { if (
这篇关于如何使hr(水平规则)可见true / false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文