Changeset 192 for trunk/admin/modules/Elezioni/ele_associazioni.php
- Timestamp:
- Mar 3, 2014, 6:18:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_associazioni.php
r189 r192 82 82 echo "</script>\n"; 83 83 84 echo "<script type=\"text/javascript\" language=\"JavaScript\" >\n\n<!--\n" 85 ."//-->\n"; 86 echo "function showdate(str,posiz,tempo)\n"; 87 echo "{\n"; 88 echo "if (str==\"\")\n"; 89 echo " {\n"; 90 echo " document.getElementById(posiz).innerHTML=\"\";\n"; 91 echo " return;\n"; 92 echo " }\n"; 93 echo "if (window.XMLHttpRequest)\n"; 94 echo " {// code for IE7+, Firefox, Chrome, Opera, Safari\n"; 95 echo " xmlhttp=new XMLHttpRequest();\n"; 96 echo " }\n"; 97 echo "else\n"; 98 echo " {// code for IE6, IE5\n"; 99 echo " xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");\n"; 100 echo " }\n"; 101 echo "xmlhttp.onreadystatechange=function()\n"; 102 echo " {\n"; 103 echo " if (xmlhttp.readyState==4 && xmlhttp.status==200 && posiz!=null)\n"; 104 echo " {\n"; 105 echo " document.getElementById(posiz).innerHTML=xmlhttp.responseText;\n"; 106 echo " }\n"; 107 echo " }\n"; 108 echo "xmlhttp.open(\"GET\",str,true);\n"; 109 echo "xmlhttp.send();\n"; 110 111 echo "}\n"; 112 echo "</script>\n"; 84 113 85 114 #########################
Note:
See TracChangeset
for help on using the changeset viewer.