javascript

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="../bootstrap-3.3.7-dist/js/jquery-1.11.1.min.js" type="text/javascript"></script>
<title></title>
</head>
<body>

<!-- <button class="hao">确定</button>-->
<script type="text/javascript">
// var a = new Array('a','b','c','d');
// var b = 'afbc';
// for(i in b){
// document.write(b[i]);
// }
// console.log(a);
// c = new String('傻叉');
// console.log(typeof c);
// m={
// a:'a的值',b:'b的值',
// max:function(){
// alert('好');
// },
// mic:function(){
// this.max;
// }
// };
// u='';i=0;
// function haode(){
// o = document.getElementById('hao');
// l=['天','空','是','多','么','的','蓝'];
// u +=l[i];
// o.innerHTML='<font color="blue" face="宋体" size="20">'+u+'</font>';
//// alert(l.length);
//// if(i==l.length-1) window.clearInterval(time);
// i++;
// if(i>l.length-1){
// u ='';i=0;
// }
//
// }
// $(document).ready(function(){
//// if(confirm('好家伙')){
//// alert('对的');
//// }else{
//// alert('不行啊!')
//// }
// time=window.setInterval(haode,1000);
// });
</script>
<div align="center" id="hao"></div>
</body>
</html>

posted @ 2017-04-26 15:40  天启者  阅读(95)  评论(0编辑  收藏  举报