Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 asp.net 2.0 和 c#。
我有两个 div<div id="div1">和<div id="div2">,我想要的是当我点击链接时,div1 会折叠,div2 会展开,反之亦然。我必须在 JQuery 中执行此操作。
<div id="div1">
<div id="div2">
通过简单的谷歌搜索,第一个是一个很好的搜索。
http://www.adipalaz.com/experiments/jquery/expand.html