摘要:
做项目时 有时候会遇到如下需求1 点击某个元素 下面隐藏的元素就出现2 点击除这个元素外任何一个地方 这个元素都隐藏掉3再次点击时再展开 如此反复编写是代码如下<code><!doctype html><html> <head>冒泡测试</head> <body> <div id="checkthis" style="wIDth:100px; height:100px; background:#555"> <span id="clickthis" 阅读全文
dasdsasd