javascript方法:javascript 思路方法一些使用思路方法

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; char=utf-8" />

<title>无标题文档</title>

<script language="javascript" type="text/javascript" >

function chens(a,b,c,d)

{

this.a=anull?alert("a"):"chen";

bnull?alert("b"):"";

cnull?alert("c"):"";

document.write(this.a);

this.dnull?alert("d"):"";

}

</script>

</head>



<body>

<input type="button" id="btnan" value="dkdk"/>

<input type="button" _disibledevent=>
<script>

var open = function(i)

{

function

{

location.replace("http://www.com-edu.cn");

}

}

(document.getElementById("btnan").attachEvent)

{

document.getElementById("btnan").attachEvent("onclick",open("popo"));

}



{

document.getElementById("btnan").addEventListener("click",open("tyty"),false);

}

</script>

</body>

</html>
Tags:  javascripterr方法 javascript学习方法 javascript使用 javascript方法

延伸阅读

最新评论

发表评论