<!DOCTYPE html> <html> <head> <script src='https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js'></script> </head> <body> <div id="myDiv" style="display:none;"> {LB_3g查看更多1} </div> <button >点击加载内容</button> <script> function showDiv() { var div = document.getElementById("myDiv"); div.style.display = "block"; } </script> </body> </html>
|