36 lines
899 B
Plaintext
36 lines
899 B
Plaintext
@model NP.Model.VMMy
|
|
@{
|
|
|
|
}
|
|
<div class="confirm">
|
|
<input type="password" id="pw" />
|
|
<a href="#" onclick="checkme()">비밀번호 확인</a>
|
|
</div>
|
|
@section scripts{
|
|
<script>
|
|
$(document).ready(function () {
|
|
$("#pw").on("keydown", function (e) {
|
|
if (e.keyCode == 13) {
|
|
checkme();
|
|
}
|
|
});
|
|
if (!ismobile()) {
|
|
focus("pw");
|
|
}
|
|
});
|
|
function checkme() {
|
|
if (check("pw", null, "비밀번호를 입력해주세요.")) { }
|
|
else {
|
|
capp('/fcommon/checkme', { pw: val("pw") }, "cbcheck");
|
|
}
|
|
}
|
|
function cbcheck() {
|
|
if (capResult.code == 1000) {
|
|
location.href = "/My/MyInfoCheck?intval=" + capResult.obj;
|
|
} else {
|
|
msg("비밀번호가 일치하지 않습니다.");
|
|
}
|
|
}
|
|
</script>
|
|
}
|