Changeset 192 for trunk/admin/modules/Elezioni/funzionidata.php
- Timestamp:
- Mar 3, 2014, 6:18:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/funzionidata.php
r189 r192 108 108 } 109 109 110 ?>111 110 112 <script type="text/javascript" language="JavaScript" >113 function showdate(str,posiz,tempo)114 {115 if (str=="")116 {117 document.getElementById(posiz).innerHTML="";118 return;119 }120 if (window.XMLHttpRequest)121 {// code for IE7+, Firefox, Chrome, Opera, Safari122 xmlhttp=new XMLHttpRequest();123 }124 else125 {// code for IE6, IE5126 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");127 }128 xmlhttp.onreadystatechange=function()129 {130 if (xmlhttp.readyState==4 && xmlhttp.status==200 && posiz!=null)131 {132 document.getElementById(posiz).innerHTML=xmlhttp.responseText;133 }134 }135 xmlhttp.open("GET",str,true);136 xmlhttp.send();137 111 138 } 139 </script> 140 <?php 112 141 113 ######################################### 142 114
Note:
See TracChangeset
for help on using the changeset viewer.