The Bull Og

Onine since 1994. Offline since 1976.

See also the archive

An individual post follows.

I was trying to figure out how to embed some JavaScript in a System.Web.UI.WebControls.HyperLink control when I came across this.

.....but the only problem was that I was passing parameters to the JavaScript function in question and the single quotes were getting all messed up.

Finally, I just put a DIV tag with runat=server around a regular anchor tag ( ) and used logic in the code-behind to show/hide that.