VBScript value into generated html

VBScript value into generated html

HTML
      <span id="ShowCount" name="ShowCount"></span>

jQuery Ready function
      $("#ShowCount").html("ABC");

The above works just fine but how to I substitute for the "ABC" with the value of a known VBscript variable called mycnt
     
      $("#ShowCount").html($("mycnt").val);

Doesn't seem to work.

Thanks