js在浏览器输出console.log
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>新建网页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<script type="text/javascript">
function fn(){
console.log("对象的值为:","111");//对象的值为:
console.info("用于输出提示性信息");
console.error("用于输出错误信息");
console.warn("用于输出警示信息");
console.debug("用于输出调试信息");
}
</script>
<style type="text/css">
</style>
</head>
<body>
<a onclick="fn()">1111</a>
<form method="post" name="from2" action="http://www.1188fc.com/index.php/Common/message">
<div class="ctc-wrap">
<input name="username" class="ctc-txt" value="angelina" type="text">
<input name="mobile" class="ctc-txt" value="angelina" type="text">
<input name="type" class="ctc-txt" value="0" type="text">
<div class="clearfix ctc-rom">
<input value="提交" class="ctc-btn" type="submit">
</div>
</div>
</form>
</body>
</html>