我想应该是:<script LANGUAGE="javascript"> 
<!-- 
var b=“<%= a %>”;
      ~~        ~~
document.write(b);
</script>