- ID de l'analyse :
- bdecd467-13e1-4964-884a-34c9613e895aTerminée
- URL soumise :
- https://ilto.run/a065yR59JkRedirigé
- Fin du rapport :
Liens : 0 trouvé(s)
Liens sortants identifiés à partir de la page
Variables JavaScript : 12 trouvée(s)
Les variables JavaScript globales chargées dans l'objet fenêtre d'une page sont des variables déclarées en dehors des fonctions et accessibles depuis n'importe quel endroit du code au sein du champ d'application actuel
Nom | Type |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
jQuery112408427004540061882 | object |
offCanvasMenu | function |
SetYaadStreetSource | function |
trim | function |
htmlEncode | function |
Messages de journal de console : 1 trouvé(s)
Messages consignés dans la console web
Type | Catégorie | Enregistrement |
---|---|---|
error | network |
|
HTML
Le corps HTML de la page en données brutes
<!DOCTYPE html><html lang="en"><head>
<meta http-equiv="Content-Language" content="he">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
<title>תוכנת המשלוחים RUN - קליטת משלוח</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="/css/css_new/public/ship_locate_random/css/custom.css" rel="stylesheet" type="text/css" media="all">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400%7CRaleway:100,400,300,500,600,700%7COpen+Sans:400,500,600" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Alef" rel="stylesheet">
<link rel="stylesheet" href="/css/css_new/bootstrap/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="/css/css_new/bootstrap/css/bootstrap-rtl.min.css" type="text/css">
<link rel="stylesheet" href="/css/css_new/jquery-ui-1.12.0/jquery-ui.css" type="text/css">
<link rel="stylesheet" href="/css/css_new/styles.css" type="text/css">
<link rel="stylesheet" href="/css/css_new/shipment_form_style.css" type="text/css">
<link rel="stylesheet" href="/css/css_new/color-theme.css" type="text/css">
<script type="text/javascript" src="/css/css_new/js/jquery.js"></script>
<script type="text/javascript" src="/css/css_new/js/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="/css/css_new/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/css/css_new/jquery-ui-1.12.0/jquery-ui.min.js"></script>
<script type="text/javascript" src="/css/css_new/js/theme.js"></script>
<style type="text/css">
.logo-header {
width:300px;
}
.error {
color:red;
}
.success {
color:green;
}
span {
display: inline;
}
.footer {
position: static;
}
.btn-save {
height: 40px !important;
font-size: 24px !important;
}
.overlay{
display: none;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 999;
background: rgba(255,255,255,0.8) url('/css/css_new/images/spinner.gif') center no-repeat;
}
/* Turn off scrollbar when body element has the loading class */
body.loading{
overflow: hidden;
}
/* Make spinner image visible when body element has the loading class */
body.loading .overlay{
display: block;
}
</style>
<script type="text/javascript">
// == OnLoad ====================================================
$(function () {
//====yaad city
$("#city_name").focus( function(){
$("#city_name").data('oldVal', $("#city_name").val());
$("#city_code").data('oldVal', $("#city_code").val());
$("#city_name").data('selected_name', $("#city_name").val())
});
$("#city_name").blur( function(){
if ($("#city_name").data('selected_name') != $("#city_name").val()){
$('#city_code').val("");
$('#street_code').val("");
$('#street_name').val("").attr("disabled","disabled");
}
if (($("#city_name").data('oldVal') != $("#city_name").val() ) || ( $("#city_code").data('oldVal') != $("#city_code").val())){
$('#street_code').val("");
$('#street_code').val("");
}
});
$("#city_name").autocomplete({
source: "/RunCom.Server/Request.aspx?APPNAME=run&PRGNAME=get_city_ajax",
minLength: 2,
focus: function(event, ui) {
$('#city_name').val( htmlDecode(ui.item.city_name) );
return false;
},
select: function (event, ui) {
var SItem = ui.item ;
$('#city_name').val( htmlDecode(SItem.city_name) );
$('#city_code').val(SItem.city_code);
$('#street_name').removeAttr("disabled").val("");
$('#street_code').val("");
// to check if user typed something after select , so we store the name in data field , and compare it in the blur event
$("#city_name").data('selected_name', $('#city_name').val());
SetYaadStreetSource();
return false;
}
}).attr('autocomplete', 'no_autocomplete');
//====yaad street
$("#street_name").focus( function(){
$("#street_name").data('oldVal', $("#street_name").val());
$("#street_code").data('oldVal', $("#street_code").val());
$("#street_name").data('selected_name', $("#street_name").val());
});
$("#street_name").blur( function(){
if ( $("#street_name").data('selected_name') != $("#street_name").val()){
$('#street_code').val("") ;
}
});
$("#street_name").autocomplete({
source: "/RunCom.Server/Request.aspx?APPNAME=run&PRGNAME=get_streets_ajax&ARGUMENTS=-N"+$('#city_code').val()
,
minLength: 2,
focus: function(event, ui) {
$('#street_name').val( htmlDecode(ui.item.street_syn_name));
return false;
},
select: function (event, ui) {
var SItem = ui.item ;
$('#street_name').val( htmlDecode(SItem.street_syn_name));
$('#street_code').val(SItem.street_code);
// to check if user typed something after select , so we store the name in data field , and compare it in the blur event
$("#street_name").data('selected_name', $('#street_name').val());
return false;
}
}).attr('autocomplete', 'no_autocomplete');
// == End yaad ================================================
$("#btnSave").click(function( event ) {
submitForm();
});
}); // === End OnLoad
function SetYaadStreetSource() {
// to refresh the source address when city code changes
$("#street_name").autocomplete( {source: "/RunCom.Server/Request.aspx?APPNAME=run&PRGNAME=get_streets_ajax&ARGUMENTS=-N"+$('#city_code').val() });
};
function trim(str) {
return str.replace(/^\s\s*/, '').replace(/\s\s*$/, '') ;
}
function htmlEncode(value){
return $('<div/>').text(value).html();
}
function htmlDecode(value){
return $('<div/>').html(value).text();
}
function submitForm() {
var telNo = $("#tel_no").val();
if (!telNo) {
alert("נא להזין מספר סלולרי");
return;
}
var cityName = $("#city_name").val();
var cityCode = $("#city_code").val();
if (!cityName) {
alert("נא להזין ישוב");
return;
}
if (!cityCode) {
alert("נא לבחור ישוב מהרשימה");
return;
}
var streetName = $("#street_name").val();
var streetCode = $("#street_code").val();
if (!streetName) {
alert("נא להזין רחוב");
return;
}
if (!streetCode) {
alert("נא לבחור רחוב מהרשימה");
return;
}
var house = $("#house").val();
if (!house) {
alert("נא להזין מספר בית");
return;
}
if (!confirm("האם את\ה מאשר\ת את פרטי הכתובת למשלוח?")) {
return;
}
var url1 = "/RunCom.Server/Request.aspx";
$("#ajaxResponse").html("");
$("#ajaxResponseContainer").css("display", "none");
var formData = {
APPNAME: "run",
PRGNAME: "Upd_Mimshak_Data_xml",
ARGUMENTS: "unique_id,kod_yeshuv,kod_rechov,bait,kod_nekudat_chaluka,tel_no,email,remarks",
unique_id: $("#unique_id").val().trim(),
kod_yeshuv: cityCode,
kod_rechov: streetCode,
bait: house,
kod_nekudat_chaluka: $("#kod_nekudat_chaluka").val(),
tel_no: $("#tel_no").val(),
email: $("#email").val(),
remarks: $("#remarks").val()
};
$("#btnSave").prop("disabled", true);
$("body").addClass("loading");
$.ajax({
type: "POST",
url: url1,
data: formData,
dataType: "html",
encode: true,
error: function (jqXHR, textStatus, errorThrown) {
$("body").removeClass("loading");
alert(errorThrown);
$("#btnSave").removeAttr("disabled");
},
success: function (result) {
$("body").removeClass("loading");
$("#btnSave").removeAttr("disabled");
if (result) {
result = $.parseXML(result);
var $xml = $(result);
var $updError = $xml.find("Upd_Error");
var $generalError = $xml.find("General_Error");
var error = $updError.text() || $generalError.text();
if (error) {
error = "<h3 class='error'>" + error + "</h3>";
$("#ajaxResponse").html(error);
} else if ($xml.find("Status").text().toUpperCase() == "OK") {
var success = "כתובת עודכנה בהצלחה";
success = "<h3 class='success'>" + success + "</h3>";
$("#ajaxResponse").html(success);
$("#btnSave").css("display","none");
}
$("#ajaxResponseContainer").css("display", "");
} else {
alert("ארעה שגיאה");
}
}
});
}
</script>
</head>
<body id="shipment_form">
<div class="main-container header">
<section>
<div class="container">
<div class="row">
<div class="logo-header">
<img src="/css/css_new/public/ship_locate_random/images/logo.png" width="200px">
<h1>קליטת משלוח</h1>
</div>
<div class="left-header">
</div>
</div>
</div>
</section>
</div>
<div class="main-container content">
<section>
<div class="container">
<div class="row ajaxResponseContainer" id="ajaxResponseContainer" style="display:none;">
<div class="col-sm-12">
<div class="container-fluid">
<div id="ajaxResponse"></div>
</div>
</div>
</div>
<form id="form1">
<input type="hidden" name="cust_num" id="cust_num" value="25901">
<input type="hidden" name="unique_id" id="unique_id" value="{95FEC12E-473B-4802-8C0C-84CCC38E765D}">
<input type="hidden" id="city_code" name="city_code" value="168">
<input type="hidden" id="street_code" name="street_code" value="9000">
<input type="hidden" id="kod_nekudat_chaluka" name="kod_nekudat_chaluka" value="">
<div class="row">
<div class="col-sm-12">
<div class="container-fluid">
<div class="input-block col-sm-12">
<label>שם לקוח: <b>AliExpress</b></label>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="container-fluid">
<div class="input-block col-sm-12">
<label>אסמכתא 1: <b>LP00697482588548</b></label>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="container-fluid">
<div class="input-block col-sm-12">
<label>אסמכתא 2: <b>AE030544914</b></label>
<br>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="container-fluid">
<div class="input-block col-sm-3">
<label for="tel_no">סלולרי<span class="red_star">*</span></label>
<input type="text" id="tel_no" name="tel_no" dir="ltr" value="0586712108">
</div>
<div class="input-block col-sm-3">
<label for="email">אימייל</label>
<input type="text" id="email" name="email" dir="ltr" value="[email protected]">
</div>
</div>
<div class="container-fluid">
<div class="input-block col-sm-6">
<label for="city_name">ישוב<span class="red_star">*</span></label>
<input type="text" id="city_name" name="city_name" size="20" dir="rtl" value="KEFAR YONA" class="ui-autocomplete-input" autocomplete="no_autocomplete">
</div>
</div>
<div class="container-fluid">
<div class="input-block col-sm-6">
<label for="street_name">רחוב <span class="red_star">*</span></label>
<input type="text" id="street_name" name="street_name" size="20" value="כפר יונה" class="ui-autocomplete-input" autocomplete="no_autocomplete">
</div>
</div>
<div class="container-fluid">
<div class="input-block col-sm-2">
<label for="house">בית<span class="red_star">*</span></label>
<input type="text" id="house" name="house" size="4" dir="ltr" value="1">
</div>
</div>
<div class="container-fluid">
<div class="input-block col-sm-6">
<label for="remarks">הערות</label>
<input type="text" id="remarks" maxlength="50" name="remarks" value="כפר יונה 1">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="container-fluid">
<div class="input-block col-sm-2">
<br>
<button type="button" class="btn btn-save" id="btnSave">שמירה</button>
</div>
</div>
</div>
</div>
</form>
</div>
</section>
<div class="footer">
</div>
</div>
<div class="overlay"></div>
<ul id="ui-id-1" tabindex="0" class="ui-menu ui-widget ui-widget-content ui-autocomplete ui-front" style="display: none;"></ul><div role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></div><ul id="ui-id-2" tabindex="0" class="ui-menu ui-widget ui-widget-content ui-autocomplete ui-front" style="display: none;"></ul><div role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></div></body></html>