网页onclick写个javascript

日期:2021-07-22 03:13:20 人气:1

网页onclick写个javascript

<html>
<head>
<script>

function changeColor(num){
var bd=document.getElementById("bd");
bd.style.backgroundImage="url(img/"+num+".jpg)";
//图片背景
    A+
热门评论