5,950
edits
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: //for counting visits function countVisit(work, lang) { var processorFileURL = "visitCount.php?work...") |
No edit summary |
||
Line 2: | Line 2: | ||
//for counting visits | //for counting visits | ||
function countVisit(work, lang) { | function countVisit(work, lang) { | ||
var processorFileURL = "visitCount.php?work="+work+"&lang="+lang | var processorFileURL = "visitCount.php?work="+work+"&lang="+lang; | ||
var xhttp = new XMLHttpRequest(); | var xhttp = new XMLHttpRequest(); | ||
xhttp.open("GET", processorFileURL, true); | xhttp.open("GET", processorFileURL, true); | ||
xhttp.send(); | xhttp.send(); | ||
} | } |