- 掃描 ID:
- 761db8cf-03a4-4ccd-b1b9-9394ae951ac3已完成
- 已提交的 URL:
- https://in.lgtvlink.com/
- 報告完成時間:
連結 · 找到 0 個
從頁面中識別的傳出連結
JavaScript 變數 · 找到 64 個
在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取
名稱 | 類型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
termsUrlAjax | function |
browser | object |
Swiper | function |
today | object |
choiceDate | object |
主控台記錄訊息 · 找到 0 條
記錄到 Web 主控台的訊息
HTML
頁面的原始 HTML 主體
<!DOCTYPE html><html lang="ko"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>LG TV WEB Login</title>
<!-- CSS Start-->
<link rel="stylesheet" href="/public/css/index.css">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico">
<!-- 공통 css -->
<script src="/public/js/jquery-3.7.0.min.js" type="text/javascript"></script>
<script src="/public/js/billing.common.js" type="text/javascript"></script>
<script src="/public/js/librurys.min.js" type="text/javascript"></script>
<script src="/public/js/ui.calendar.js" type="text/javascript"></script>
<script src="/public/js/ui.common.js" type="text/javascript"></script>
<script src="/public/js/common.js" type="text/javascript"></script>
</head>
<body>
<!-- wrapper -->
<main id="wrapper">
<!-- wrapper_body -->
<div id="wrapper_body">
<!-- container -->
<div id="container" class="role_wrap">
<!-- contents -->
<section id="contents">
<div class="cont_body full_typ">
<div class="login_wrap">
<h1 class="h1_tit" tabindex="0" aria-label="LG Logo"><span aria-hidden="true">LG</span></h1>
<h2 class="h2_tit">LG Account Sign In</h2>
<p class="sub_tit" role="text" tabindex="0" aria-label="Enter the code shown on your device's screen.">
Enter the code shown on your device's screen.
</p>
</div>
<form class="code_insert" name="sendForm">
<div class="code_wrap">
<input type="text" name="usrCode" id="usrCode" placeholder="Enter Code" autocomplete="off" maxlength="6" style="text-align:center; ime-mode:disabled;">
</div>
<p class="error_msg" style="text-align:center;">This code is not valid.</p>
</form>
</div>
<div class="btn_wrap">
<button type="button" id="loginBtn" class="btn_default">Next</button>
</div>
</section>
<!--// contents -->
</div>
<!--// container -->
</div>
<!--// wrapper_body -->
</main>
<script>
$("document").ready(function() {
$("#loginBtn").click(function() {
ajaxLogin();
});
$('form[name="sendForm"] input[name="usrCode"]').keydown(function() {
if (event.keyCode == 13) {
event.preventDefault();
ajaxLogin();
}
else {
$('.error_msg').hide();
}
});
$("#usrCode").focus()
});
function ajaxLogin() {
var usrCode = $("#usrCode").val();
if (usrCode.length != 6) {
//$(".error_msg").text('This code is not valid.');
$('.error_msg').show();
$('form[name="sendForm"] input[name="usrCode"]').trigger('focus');
return;
}
$.ajax({
url : "deviceLoginValidation.ajax",
type : "post",
data : {
"usrCode" : usrCode
},
dataType : "json",
success : function(data) {
console.log(data);
if (data.status == 'N') {
//$(".error_msg").text('This code is not valid.');
$('.error_msg').show();
$('form[name="sendForm"] input[name="usrCode"]').val('');
$('form[name="sendForm"] input[name="usrCode"]').focus();
return false;
} else if (data.status == 'Y') {
sendForm.method = 'post';
sendForm.action = 'deviceLoginProcess.do';
sendForm.submit();
}
},
error : function() {
//$(".error_msg").text('This code is not valid.');
$('.error_msg').show();
$('form[name="sendForm"] input[name="usrCode"]').val('');
$('form[name="sendForm"] input[name="usrCode"]').focus();
}
});
}
function checkRTLCountry(){
$('form[name="sendForm"] input[name="usrCode"]').attr("dir", "rtl");
}
</script>
</body></html>