1/*cs4web*/ 2jQuery(document).ready(function($) 3{ 4 let form = $('.hotel-booking-search form'); 5 if(form.length !== 1) 6 { 7 return; 8 } 9 10 function convertDate(d) 11 { 12 if(d) 13 { 14 let p = d.split('/'); 15 return `${p[2]}-${p[0]}-${p[1]}`; 16 } 17 else 18 { 19 return ''; 20 } 21 } 22 23 form.off(); 24 form.on('submit', function(e) 25 { 26 e.preventDefault(); 27 28 let ci = convertDate(form.find('input[name="skd-checkin"]').val()); 29 let co = convertDate(form.find('input[name="skd-checkout"]').val()); 30 31 let url = `https://booking.moerisch.at/?activeBookingEngine=KBE&propertyCode=S001536&skd-checkin=${ci}&skd-checkout=${co}&skd-property-code=S001536`; 32 console.log(url); 33 window.open(url); 34 35 }) 36});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.