DIV hiding problem, please help_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:49
Original
1103 people have browsed it



< ;div title="${list.CD_Name}" style="padding:10px; display:none;" id="CD_ID${list.CD_ID}">


${list_in.CD_Name }



The DIV attribute is set but not hidden. I originally wanted to use JS to dynamically hide this, but it didn't happen.
My JS code
document.getElementById("CD_ID1").style. display="none";


Reply to discussion (solution)

Are you sure the id is cd_id1? items="${l}" var="list">

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template