<!DOCTYPE html>
<html>
<head>
<title>ttt</title>
</head>
<body>
<input type="checkbox" name="ss" value="1" onclick="ss($(this))"/> 使用時間
<div id="s1" style="display: none;">
55555
</div>
</body>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
function ss(obj){
// 獲取選中狀態
var i = $('input[name="ss"]').is(':checked');
if (i == true) {
// 顯示
document.getElementById("s1").style.display="";
}else{
//隱藏
document.getElementById("s1").style.display="none";
}
console.log(i)
};