%PDF- %PDF-
Direktori : /var/www/html/buggydubrovnik.com/buggy-booking/ |
Current File : //var/www/html/buggydubrovnik.com/buggy-booking/booking.js |
function promijenivrijeme(){ var x=document.getElementById("lokacija") document.rezizlet.picktime.value=(x.options[x.selectedIndex].title); } var vari =""; function getXMLHttp() { var xmlHttp try { //Firefox, Opera 8.0+, Safari xmlHttp = new XMLHttpRequest(); } catch(e) { //Internet Exploreret try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { alert("Your browser does not support AJAX!") return false; } } } return xmlHttp; } function MakeRequestDohvatiDane(ID, vrijednost) { var xmlHttp = getXMLHttp(); xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState == 4) { vari = xmlHttp.responseText; } } var parameters="idizlet="+ID+"&mjesec="+vrijednost; xmlHttp.open("POST", "dani.php", false); xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); //xmlHttp.setRequestHeader("Content-length", parameters.length); //xmlHttp.setRequestHeader("Connection", "close"); xmlHttp.send(parameters); } function ParsirajSve(value) { value = value.split("##"); for (var i = 0; i < value.length; i++) { var tmp = value[i].split("=="); value[tmp[0]] = tmp[1]; } return value; } function theChecker() { if(document.rezizlet.checkb.checked==false) { document.rezizlet.subbtn.disabled=true; } else { document.rezizlet.subbtn.disabled=false; } }