// Countdown function
function ajaxTestCounter () {
- // Do we have element set?
+ // Is there element set?
if (element != null) {
// Yes, then set the new counter value
element.innerHTML = counter;
} // END - if
- // Do we have reached zero?
+ // Is there reached zero?
if (counter < 1) {
// Clear the interval
clearInterval(ajaxTest);