1012
Signed-off-by: lemon147147 <12431933+lemon147147@user.noreply.gitee.com>
This commit is contained in:
parent
901ac70c58
commit
89a57650ba
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>页面标题</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="Adiv" class="A">A---拖拽的元素</div><div id="Bdiv" class="B">B---A被拖进的元素</div>
|
||||
<p id="lsq">try this button</p>
|
||||
<script>
|
||||
function myFunction(){
|
||||
document.getElementById("lsq").innerHTML="Hello world!";
|
||||
}
|
||||
</script>
|
||||
<button type="button" onclick="myFunction()">点我试试!!!</button>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue