I am developing a web server with node.js. But I got a problem just now.
Below code is my HTML code.

```
<%
  var tagID = 'something';
%>
<a href="..." id="javascript:tagID">...</a>

```

I know that if I use 'javascript:' inside a HTML tag. then it can execute javascript code. but it did not work when I checked it on my browser.

Or should I use DOM to do this?