Itinerary AUTOINPUT boiii
HTML
<html>
<head>
<!-- BEGIN MOBILE RESPONSIVENESS -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- END MOBILE RESPONSIVENESS -->
<!-- BEGIN FAVICON -->
<link rel="icon" type="image/x-icon" href="http://mtomtours.com/favicon.ico" />
<link rel="icon" type="image/png" href="https://www.mtomtours.com/images/icons/faviconM.png" />
<link rel="icon" type="image/gif" href="http://mtomtours.com/favicon.gif" />
<!-- END FAVICON -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://www.gstatic.com/firebasejs/4.13.0/firebase.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.11.2/css/bootstrap-select.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.11.2/js/bootstrap-select.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
</head>
<body>
<div id="this"></div>
<div class="formHide">
<textarea type="text" name="amadeusINPUT" id="ghreclocator" class2="searchfield" placeholder=" 1.CORTEZ/IVANIA
2 CM 303 W 18MAY 5*LAXPTY HK1 1131P 809A 19MAY E CM/D3M3SD
3 CM 826 W 19MAY 6*PTYMGA HK1 938A1030A 19MAY E CM/D3M3SD
4 CM 105 W 01JUN 5*MGAPTY HK1 226P 501P 01JUN E CM/D3M3SD
5 CM 302 W 01JUN 5*PTYLAX HK1 642P1145P 01JUN E CM/D3M3SD"></textarea>
<form name="PriceCalc" id="PriceCalc" action="">
<div class="searchbox" width="auto"...
CSS
.bottomPart {
display: inline-flex;
}
.banner img {
width: 100%;
}
.AB {
display: inline-flex;
text-align: center;
font-weight: bold;
color:#000000;
padding: 2px;
font-size: small;
font-family: Gotham-Bold;
border-color: #000;
border-width: 2px;
}
.segTitle {
display: inline-flex;
text-align: center;
font-weight: bold;
color:#000000;
padding: 2px;
font-size: small;
font-family: Gotham-Bold;
border-color: #000;
border-width: 2px;
}
.baggageTitle {
color: #239422;
font-size: small;
}
.baggageRestriction {
font-size:xx-small;
color: #A2A9B3;
}
.baggage {
display: inline-flex;
text-align: center;
font-weight: bold;
color:#000000;
padding: 2px;
font-size: small;
font-family: Gotham-Bold;
border-color: #000;
border-width: 2px;
}
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: #FAFAFA;
/* font: 12pt "Tahoma"; */
}
textarea {
min-width: 40%;
min-height: 200px;
}
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.introSEG {
text-align: center;
font-weight: bold;
color: #2181b7;
padding: 2px;
font-size: large;
font-family: Gotham-Bold;
display: inline-block;
}
.nameonP {
text-align: left;
font-weight: bold;
Fcolor: #2181b7;
padding: 2px;
font-size: medium;
font-family: Gotham-Bold;
display: inline-block;
}
.nameonP small {
display: block;
font-size: 11px;
color: #A2A9B3;
margin-bottom: 2px;
}
.etktonP {
text-align: left;
font-weight: bold;
Fcolor: #2181b7;
padding: 2px;
font-size: medium;
font-family: Gotham-Bold;
display: inline-block;
}
.etktonP small {
display: block;
font-size: 11px;
color: #A2A9B3;
margin-bottom: 2px;
}
.page {
width: 210mm;
...
JavaScript
function testdis() {
/* var formChanged = function() { */
// Get input box as string
var inputTextarea = document.getElementsByName("amadeusINPUT")[0].value;
if (!inputTextarea) {
var inputTextarea = ' 1.ZAMORA LOAISIGA/SILVIA AMPARO 2 CM 396 W 28MAY 1*LAXPTY HK1 130A1014A 28MAY E CM/AOHHCK 3 CM 106 W 28MAY 1*PTYMGA HK1 1205P1252P 28MAY E CM/AOHHCK 4 CM 710 W 06NOV 2*MGAPTY HK1 728A1003A 06NOV E CM/AOHHCK 5 CM 472 W 06NOV 2*PTYLAX HK1 1226P 435P 06NOV E CM/AOHHCK';
var inputTextareaAV = ' 1.MULLER GADEA/JUAN FRANCISCO 2 AV6643 S 02MAR 5*MGASAL HK1 530P 620P 02MAR E TA/RKGM8Q OPERATED BY SUBSIDIARY/FRANCHISE 3 AV 520 S 02MAR 5*SALLAX HK1 715P1045P 02MAR E TA/RKGM8Q OPERATED BY SUBSIDIARY/FRANCHISE 4 AV 521 S 06MAR 2*LAXSAL HK1 1230A 725A 06MAR E TA/RKGM8Q OPERATED BY SUBSIDIARY/FRANCHISE 5 AV6642 S 06MAR 2*SALMGA HK1 840A 935A 06MAR E TA/RKGM8Q';
var inputTextarea2PASS = ' DIPP/NORMA 2.HERNANDEZ/ADRIANA DEL SOCORRO 3 AV 529 W 28MAY 1*LAXSAL HK2 1139P 540A 29MAY E TA/WBA8LA 4 AV6642 W 29MAY 2*SALMGA HK2 840A 935A 29MAY E TA/WBA8LA 5 AV6643 W 15NOV 4*MGASAL HK2 530P 620P 15NOV E TA/WBA8LA 6 AV 520 W 15NOV 4*SALLAX HK2 715P1045P 15NOV E TA/WBA8LA ';
var inputTextareaNONAME = ' 2 CM 303 W 22MAY 2*LAXPTY HK1 1131P 809A 23MAY E CM/BD4MR1 3 CM 826 W 23MAY 3*PTYMGA HK1 938A1030A 23MAY E CM/BD4MR1 4 CM 710 W 25FEB 1*MGAPTY HK1 728A1003A 25FEB E CM/BD4MR1 5 CM 472 W 25FEB 1*PTYLAX HK1 1226P 435P 25FEB E CM/BD4MR1 ';
}
//...