Changeset 189 for trunk/admin/modules/Elezioni/funzionidata.php
- Timestamp:
- Mar 2, 2014, 4:49:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/funzionidata.php
r188 r189 109 109 110 110 ?> 111 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, Safari 122 xmlhttp=new XMLHttpRequest(); 123 } 124 else 125 {// code for IE6, IE5 126 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 138 } 139 </script> 140 <?php 141 ######################################### 142 143 ?>
Note:
See TracChangeset
for help on using the changeset viewer.