返回jQuery基......登陆

jQuery基本语法

奋斗的路上2019-04-03 22:00:32197

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<script type="text/javascript" src="jQuery/jquery-3.3.1.min.js"></script >

</head>


<body>


<script type="text/javascript">

$(document).ready(function(){

$str="我是一个声明变量"

//alert($str);

$("div").hide()

$("button").click(function(){    $("div").show()   })

})



</script >


<div style="width:100px; height:100px; background:#968;"></div>

<button>点击显示</button>



</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送