* 스크립트와 Body를 이용하시면 됩니다.
<html>
<head>
<script type="text/javascript">
function bodyOnLoad()
{
alert("bodyOnLoad alert");
}
</script>
</head>
<body onload="bodyOnLoad()">
</body>
</html>
.form-group.required .control-label:before{ color: red; content: "*"; position: absolute; margin-left: -15px; } 라벨 왼쪽에 * 넣기 bootstrap.css에 추가 폼에 required 추가 class="form-group required"
댓글
댓글 쓰기