Home > Net >  When a specified value is in the DIV took the hidden DIV
When a specified value is in the DIV took the hidden DIV

Time:09-23

<% @ LANGUAGE="VBSCRIPT" CODEPAGE="65001" % & gt;

<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
No title documents & lt;/title> <br/><script SRC="https://code.jquery.com/jquery-1.9.1.js" & gt; </script> <br/><br/><style type="text/CSS" & gt; <br/># o {<br/>Background - color: # 0 f0; <br/>} <br/></style> <br/></head> <br/><br/><br/><body> <br/><Div id="o" & gt; <br/>1 <br/></div> <br/><Div id="o" & gt; <br/>I <br/></div> <br/><br/><script> <br/><br/><br/>$(" o "). The text (" I "). Hide (" o "); <br/><br/><br/><br/></script><p class="article - content rp"> CodePudding user response: </p>Selector: <br/>: the contains (text) <br/><br/>Usage examples: <br/>$(" : the contains (' W3School ') ") <br/><br/>Explanation: <br/>Contains all the elements in the specified string </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/net/23578.html" target="_blank" style="color:#999">https//www.codepudding.com/net/23578.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/net/23577.html'>Consult: c # socket server, client, if the disconnect again, display connected, but not communicatio</a></div> <div class="detail-arr-right">Next:<a href='/net/23579.html'>VS2010 Chart drawing, coordinate the deputy calibration Settings</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=ASP.NET' target='_blank'>ASP.NET</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>