Click Test 03

This test has a mouseup "click" test for just the img tag.

image

This version puts a count into the function and makes it visible in the alert. The count gets reset each time, though because the variable is declared inside the function.

    <script type="text/javascript" language="JavaScript">
      function mouseUp()
      {
        var ct =0;
        ct = ct + 1;
        alert("Mouse Click\n"+ct);

      }
    </script>